CVE 9.6 CRITICAL

NuGet Gallery: Arbitrary Blob Overwrite via Nuspec Confusion and URI Fragment Truncation_CVE-2026-39399

9.6 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H

Description

NuGet Gallery is a package repository that powers nuget.org. A security vulnerability exists in the NuGetGallery backend job’s handling of .nuspec files within NuGet packages. An attacker can supply a crafted nuspec file with malicious metadata, leading to cross package metadata injection that may result in remote code execution (RCE) and/or arbitrary blob writes due to insufficient input validation. The issue is exploitable via URI fragment injection using unsanitized package identifiers, allowing an attacker to control the resolved blob path. This enables writes to arbitrary blobs within the storage container, not limited to .nupkg files, resulting in potential tampering of existing content. This issue has been patched in commit 0e80f87628349207cdcaf55358491f8a6f1ca276.

AI Analysis

Arbitrary blob overwrite via nuspec confusion and URI fragment truncation, potentially leading to remote code execution (RCE) and/or arbitrary blob writes

Basic Information

ID CVE-2026-39399
Source GitHub_M
Published Apr 14, 2026 at 23:01

Affected Product

Vendor NuGet
Product NuGetGallery
Version < 0e80f87628349207cdcaf55358491f8a6f1ca276
Affected Versions NuGet NuGetGallery < 0e80f87628349207cdcaf55358491f8a6f1ca276

CWE Classification

AI Assessment

AI Score 9.6 / 10
AI Severity Critical
Vendor Microsoft
Product NuGet Gallery
Version < 0e80f87628349207cdcaf55358491f8a6f1ca276

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.