Skip to content
Business logic Advisory Intermediate CVE-2026-96238

.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.

Raffaello Tamagnini Follow

Originally disclosed on Microsoft

High 6.5 View original

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

The original report as published on the Microsoft Security Response Center, by Raffaello Tamagnini. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by Raffaello Tamagnini

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.