CVE-2026-63184: Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
Published 2026-11-20 · Updated 2026-11-20 · Also known as GHSA-x6w4-f264-3vvr
Summary
The Refitter .NET tool suffers from insecure OpenAPI $ref resolution, allowing unauthorized local file access and SSRF during the build process. Engineering teams using versions prior to 2.1.1 should update immediately to mitigate these build-time vulnerabilities.
Who is affected
Refitter processes untrusted OpenAPI specifications by fetching remote URLs or reading arbitrary local files referenced in the schema. This results in SSRF, remote file inclusion, and local file inclusion when the tool is run on malicious or attacker-influenced specification files. While code execution is not possible, this allows attackers to exfiltrate sensitive files from build environments or perform requests from the CI host.
Exploitability
The vulnerability carries a high CVSS base score of 7.1, indicating significant risk, although the low EPSS score of 0.004 suggests limited current threat activity. It is not listed on the CISA Known Exploited Vulnerabilities catalog and does not currently have evidence of active exploitation.
Remediation
- Update the Refitter NuGet package to version 2.1.1 or higher.
- Avoid running Refitter on OpenAPI specifications retrieved from untrusted sources or external third parties until the package is updated.
How to check your project
- Run 'dotnet list package' in your project root to check for the 'Refitter' dependency.
- Examine the 'obj/project.assets.json' or '.csproj' files for version numbers below 2.1.1.
Automated analysis of the published advisory data, generated 2026-11-20. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| NuGet | Refitter |
>= 0, < 2.1.1 | 2.1.1 | dotnet add package Refitter --version 2.1.1 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | Low |
| Availability | None |
FAQ
Does this vulnerability lead to Remote Code Execution (RCE)?
No, the vulnerability is limited to SSRF, remote file inclusion, and local file inclusion. The tool generates Refit interfaces that do not permit code execution.
Is my production server at risk?
This is primarily a build-time vulnerability. The risk is to the developer workstation or the CI/CD build environment where the Refitter tool is executed.
What is the root cause of the issue?
The tool uses the NJsonSchema library with unsafe default configurations that permit resolution of external network references and absolute local file paths without path validation.
Original advisory description
References
- WEB https://github.com/christianhelle/refitter/security/advisories/GHSA-x6w4-f264-3vvr
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63184
- WEB https://github.com/christianhelle/refitter/pull/1173
- WEB https://github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7b
- PACKAGE https://github.com/christianhelle/refitter
- WEB https://github.com/christianhelle/refitter/releases/tag/2.1.1
- WEB https://github.com/user-attachments/files/29395269/reproduce.sh
- WEB https://github.com/user-attachments/files/29395271/maintainer-report.txt
- WEB https://github.com/user-attachments/files/29395272/advisory.md
- WEB https://github.com/user-attachments/files/29395283/reproduce.sh
- WEB https://github.com/user-attachments/files/29395284/maintainer-report.txt
- WEB https://github.com/user-attachments/files/29395285/advisory.md
- WEB https://github.com/user-attachments/files/29395286/listener.py
- WEB https://github.com/user-attachments/files/29395288/make_spec.py
Source records: GHSA-x6w4-f264-3vvr (OSV.dev) · EPSS by FIRST, 2026-11-26.