NuGet
CVE-2026-63184
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
- Severity
- High 7.1
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.1.1
- Exploit chance
- 0.6% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N- Also known as
- GHSA-x6w4-f264-3vvr
- Sources
- OSV.dev and GitHub
Description
Refitter (the refitter dotnet tool, built on NJsonSchema for $ref resolution) fetches remote http(s) URLs and reads local files (including absolute paths and ../ traversal outside the input directory), inlining the referenced schema into the generated Refit interface/contracts. Running refitter --output Out.cs on a spec whose $ref points at an attacker/internal URL or an arbitrary local file yields SSRF, remote file inclusion, and local file inclusion. Verified on Refitter 2.0.0.
- $ref: http://attacker-or-internal/evil.json#/... -> build host fetches (SSRF) and inlines the remote schema (RFI); confirmed property REMOTE_REFIT_PROP.
- $ref: /abs/path.json#/... or ../../secret.json#/... -> out-of-tree local file read + inlined (LFI); confirmed property REFIT_LFI_MARKER. Both absolute and relative traversal work.
No RCE: Refitter emits Refit interfaces with no baseUrl string literal (Refit sets the base address at runtime), enum values use C# verbatim-string doubling, and string…
Affected software
| Software | Affected versions |
|---|---|
RefitterNuGet · osv:NuGet:Refitter |
|
About Refitter
- Total downloads (NuGet)
- 12,814,005NuGet, 23 Nov 2026
Vulnerabilities in Refitter
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 3
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-63344Refitter allows arbitrary code execution through unescaped OpenAPI content-type valuesCritical 20 Nov 2026
- CVE-2026-63346Refitter allows code execution through unescaped OpenAPI header parameter namesCritical 20 Nov 2026
- CVE-2026-63345Refitter allows arbitrary code execution through unescaped OpenAPI pathsCritical 20 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-63184
- GitHub Advisory Database https://github.com/advisories/GHSA-x6w4-f264-3vvr