CVE-2026-63184: Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
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.
References
- github.com/advisories/GHSA-x6w4-f264-3vvr
- github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7b
- github.com/christianhelle/refitter/pull/1173
- github.com/christianhelle/refitter/releases/tag/2.1.1
- github.com/christianhelle/refitter/security/advisories/GHSA-x6w4-f264-3vvr
- github.com/user-attachments/files/29395269/reproduce.sh
- github.com/user-attachments/files/29395271/maintainer-report.txt
- github.com/user-attachments/files/29395272/advisory.md
- github.com/user-attachments/files/29395283/reproduce.sh
- github.com/user-attachments/files/29395284/maintainer-report.txt
- github.com/user-attachments/files/29395285/advisory.md
- github.com/user-attachments/files/29395286/listener.py
- github.com/user-attachments/files/29395288/make_spec.py
- nvd.nist.gov/vuln/detail/CVE-2026-63184
Code Behaviors & Features
Detect and mitigate CVE-2026-63184 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →