CVE-2026-63184 — Vulnerability in Refitter — CVE Details
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.72%). Schedule for your next planned update.
Does your project use an affected Refitter version?
Paste your packages.lock.json to check it for CVE-2026-63184 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
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 <spec> --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.
Details
$ref: http://attacker-or-internal/evil.json#/...-> build host fetches (SSRF) and inlines the remote schema (RFI); confirmed propertyREMOTE_REFIT_PROP.$ref: /abs/path.json#/...or../../secret.json#/...-> out-of-tree local file read + inlined (LFI); confirmed propertyREFIT_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 defaults are escaped. The chain stops at SSRF + RFI + LFI.
The $ref resolution is performed by Refitter's NJsonSchema dependency, which Refitter ships and
invokes with these unsafe defaults.
PoC
reproduce.sh (+ make_spec.py, listener.py) attached: installs the .NET SDK + Refitter if needed,
confirms LFI (out-of-tree read), SSRF (listener hit during generation), and RFI (remote schema
inlined). Verified on 2.0.0.
Impact
Build-time SSRF (CWE-918) from the developer or CI host, disclosure of arbitrary local files
(CWE-22), and inclusion of untrusted remote content (CWE-829), from running Refitter on an
attacker-controlled or attacker-influenced OpenAPI description. No code execution. Estimated
Medium-High, e.g. [reproduce.sh](https://github.com/user-attachments/files/29395269/reproduce.sh) (the CNA sets the final score).
Suggested fix
Don't resolve remote $refs by default (opt-in + host allowlist); confine local $ref resolution to
the input directory tree (reject absolute paths and ../ escapes). Apply at all nesting levels.
Coordinate with NJsonSchema, where the resolver lives.
maintainer-report.txt
advisory.md
reproduce.sh
maintainer-report.txt
advisory.md
listener.py
make_spec.py
Advisory Timeline
- First published November 20, 2026 (6 days ago).
- Last revised November 20, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Refitter --version 2.1.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: NuGet (1).
| Package | Fixed In |
|---|---|
| Refitter NuGet · Affected: 0.1.2-alpha, 0.1.3-alpha, 0.1.4-alpha, 0.1.5-alpha (+107 more) | 2.1.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-829
- CWE-918Server-Side Request Forgery (SSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
References
- https://github.com/christianhelle/refitter/security/advisories/GHSA-x6w4-f264-3vvrWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63184ADVISORY
- https://github.com/christianhelle/refitter/pull/1173WEB
- https://github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7bWEB
- https://github.com/christianhelle/refitterPACKAGE
- https://github.com/christianhelle/refitter/releases/tag/2.1.1WEB
- https://github.com/user-attachments/files/29395269/reproduce.shWEB
- https://github.com/user-attachments/files/29395271/maintainer-report.txtWEB
- https://github.com/user-attachments/files/29395272/advisory.mdWEB
- https://github.com/user-attachments/files/29395283/reproduce.shWEB
- https://github.com/user-attachments/files/29395284/maintainer-report.txtWEB
- https://github.com/user-attachments/files/29395285/advisory.mdWEB
- https://github.com/user-attachments/files/29395286/listener.pyWEB
- https://github.com/user-attachments/files/29395288/make_spec.pyWEB
Frequently Asked Questions
- What is CVE-2026-63184?
- Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.1/10).
- How do I check if my project is affected by CVE-2026-63184?
- CVE-2026-63184 affects Refitter. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-63184 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 49.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-63345CRITICAL
Refitter allows arbitrary code execution through unescaped OpenAPI paths
- CVE-2026-63346CRITICAL
Refitter allows code execution through unescaped OpenAPI header parameter names
- CVE-2026-63344CRITICAL
Refitter allows arbitrary code execution through unescaped OpenAPI content-type values
- CVE-2026-59975HIGH
SharpIppNext: Unbounded IPP Document Stream Buffering Leads to Denial of Service
- CVE-2026-102529HIGH
HtmlSanitizer: CSS Removal DoS