.NET Security Feature Bypass Vulnerability (CVE-2026-96238)
A validation error in .NET lets an attacker bypass NuGet Package Source Mapping, a feature that restricts packages to approved sources. This could cause a package from an unauthorised source to be selected and installed.
Originally disclosed on Microsoft
Description
Origin validation error in .NET allows an unauthorized attacker to bypass a security feature over a network.
FAQ
What kind of security feature could be bypassed by successfully exploiting this vulnerability? An attacker who successfully exploited this vulnerability could bypass NuGet Package Source Mapping, a security feature that restricts packages to approved sources. This could cause content from an unauthorized package source to be selected and installed.
.NET
.NET
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an origin validation error in how .NET enforces NuGet Package Source Mapping, allowing a package from an unapproved source to be selected.
Impact
An attacker could cause content from an unauthorised package source to be selected and installed, bypassing the source mapping restriction.
What the attacker needed
Network access to the affected .NET component
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
NuGet is the package manager for .NET, and Package Source Mapping is a setting that says which package repositories are trusted. This bug means that setting can be ignored, so a package from an untrusted repository might get installed instead of the approved one. That could let someone slip in malicious code through a package.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.