Path Traversal in Nuget Nugetgallery
CVE-2026-39399
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.005 (41.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H.
Affected products
- Nuget Nugetgallery — versions < 0e80f87628349207cdcaf55358491f8a6f1ca276
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-39399?
- CVE-2026-39399 is a critical-severity vulnerability in Nuget Nugetgallery, classified under Improper Input Validation. CVSS score: 9.6/10. Published 2026-04-14.
- How severe is CVE-2026-39399?
- Critical severity. CVSS v3 base score is 9.6 out of 10.