# CVE-2026-39399: NuGet Gallery: Arbitrary Blob Overwrite via Nuspec Confusion and URI Fragment Truncation

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-04-14T23:01:38.176Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-20, CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- NuGet NuGetGallery: < 0e80f87628349207cdcaf55358491f8a6f1ca276

## References

- <https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr>
- <https://github.com/NuGet/NuGetGallery/commit/0e80f87628349207cdcaf55358491f8a6f1ca276>

## Sources

- CVE List: [CVE-2026-39399](https://www.cve.org/CVERecord?id=CVE-2026-39399), CVE Terms of Use, modified 2026-04-15
- NVD: [CVE-2026-39399](https://nvd.nist.gov/vuln/detail/CVE-2026-39399), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-39399 · Whole record: https://cve.day/CVE-2026-39399.json · Rebuilt by cve.day 2026-11-25T22:59:18.807Z
