Skip to content

Error NU1901: Package 'System.Security.Cryptography.Xml' 10.0.0 has a known low severity vulnerability #5935

@aeirisch

Description

@aeirisch

Describe the bug
We updated the System.ServiceModel.Http to v10.0.652802 NuGet package in our VS 26 solution on .NET 10 and during the build we got this warning from the transient package:

Warning NU1901: Package 'System.Security.Cryptography.Xml' 10.0.0 has a known low severity vulnerability

To Reproduce
Steps to reproduce the behavior:

  1. Update in VS the NuGet System.ServiceModel.Http to v10.0.652802 and build the project.
  2. In VS we called dotnet nuget why src/<project-folder>/<project-file.csproj> System.Security.Cryptography.Xml and got the following output
    Project '<project-file.csproj>' has the following dependency graph(s) for 'System.Security.Cryptography.Xml':
    [net10.0]
    └── System.ServiceModel.Http (v10.0.652802)
    └── System.ServiceModel.Primitives (v10.0.652802)
    └── System.Security.Cryptography.Xml (v10.0.0) // Should be v10.0.6

Expected behavior
We expected that the transient package System.Security.Cryptography.Xml v10.0.6 comes automatically with the update of System.ServiceModel.Http v10.0.652802
We would like not to add the package System.Security.Cryptography.Xml v10.0.6 explicit in our project file and use only the correct transient package of System.Security.Cryptography.Xml.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions