MAUI: This solution contains packages with vulnerabilities

Sreenivasan, Sreejith 995 Reputation points
2026-07-07T08:59:38.8966667+00:00

Last week when I open Visual Studio in windows I saw a message like below screenshot.

Screenshot 2026-07-06 160515

when I tap on Manage NuGet Packages it listed 2 packages.

SQLitePCLRaw.lib.e_sqlite3.android and SQLitePCLRaw.lib.e_sqlite3.ios

The installed version of the above packages are 2.1.11 and this is the latest stable version.

I found below in my .csproj:

<ItemGroup>
	<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.1.11" />
</ItemGroup>

I tried updating it like below and the above warning alert vanished.

<ItemGroup>
	<PackageReference Include="sqlite-net-pcl" Version="1.11.272-beta" />
	<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
</ItemGroup>

But after updating like this I am not able to view the login page. When I install the app I am getting below exception in the output box:

System.InvalidOperationException: There is not a valid operation queue at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception) at System.Reactive.ExceptionHelpers.Throw(Exception exception) at System.Reactive.Subjects.AsyncSubject`1[[System.Reactive.Unit, System.Reactive, Version=6.0.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263]].GetResult() at Xamarin.Forms.Clinical6.Core.Services.CacheExtensions.SaveUploadedPushToken(ICacheService cacheService, String pushToken) in C:\Projects\Inventiva-MAUI\MAUI.Clinical6\Core\Services\CacheService.cs:line 202 at Xamarin.Forms.Clinical6.Core.Services.UserService.GetAccessToken() in C:\Projects\Inventiva-MAUI\MAUI.Clinical6\Core\Services\UserService.cs:line 209 Missing Remote Translation Key: AppInitViewModelGenerateTokenError Language: , Missing Consuming App Resx Translation Key: AppInitViewModelGenerateTokenError Language: ,

I tried adding below initialization on the MAUIProgram.cs but no luck:

SQLitePCL.Batteries_V2.Init();
Developer technologies | .NET | .NET Multi-platform App UI
0 comments No comments

Answer accepted by question author

Varsha Dundigalla(INFOSYS LIMITED) 5,185 Reputation points Microsoft External Staff
2026-07-07T12:31:27.5233333+00:00

Thank you for reaching out.

The warning in Visual Studio appears because SQLitePCLRaw.lib.e_sqlite3.android and SQLitePCLRaw.lib.e_sqlite3.ios version 2.1.11 are currently flagged as having a known vulnerability. Visual Studio detects this and displays the security warning.

However, the issue you are seeing after updating the package appears to be different. The login page failure is likely not caused by the vulnerability warning itself. Based on the exception stack trace, the error is occurring during application startup while generating the access token and saving the push token, rather than during SQLite initialization.

Since you upgraded from SQLitePCLRaw 2.x to 3.x, which is a major version change, there may be a compatibility issue with other SQLite-related packages used in the application.

To help identify the root cause, please share the complete list of SQLite-related package references from your .csproj file, including any SQLitePCLRaw.*, sqlite-net-pcl, or other SQLite packages. This will help determine whether there is a package version mismatch after the upgrade.

If you found this information useful, kindly mark this as "Accept Answer" so that others facing similar issues can easily find the solution. We are closing this thread for now. If you encounter any further issues, please feel free to raise a new thread.

Was this answer helpful?

1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Bruce (SqlWork.com) 84,671 Reputation points
    2026-07-07T14:28:12.5966667+00:00

    I would guess you failing routine is using SQLite encryption, which is no longer free and not included in the lastest SQLitePCLRaw package. See release notes

    https://github.com/ericsink/SQLitePCL.raw/blob/main/v3.md

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.