{"id":"CVE-2026-63184","summary":"Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion","details":"Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.1, the `refitter` dotnet tool invokes `NJsonSchema` with unsafe defaults for `$ref` resolution when generating Refit interfaces and contracts from attacker-controlled or attacker-influenced OpenAPI descriptions. Remote `http(s)` references cause requests from the developer or CI host and inline untrusted remote schema content into generated output. Absolute local file paths and relative `../` traversal outside the input directory also resolve and inline local content, permitting arbitrary local-file disclosure. The demonstrated chain stops at server-side request forgery, remote file inclusion, and local file inclusion, not code execution: Refit sets the base URL at runtime, enum values use verbatim-string doubling, and string defaults are escaped. This issue is fixed in version 2.1.1.","aliases":["GHSA-x6w4-f264-3vvr"],"modified":"2026-11-04T02:30:47.762952591Z","published":"2026-10-30T21:49:06.793Z","database_specific":{"cwe_ids":["CWE-829","CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63184.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/christianhelle/refitter/releases/tag/2.1.1"},{"type":"WEB","url":"https://github.com/user-attachments/files/29395269/reproduce.sh"},{"type":"WEB","url":"https://github.com/user-attachments/files/29395271/maintainer-report.txt"},{"type":"WEB","url":"https://github.com/user-attachments/files/29395283/reproduce.sh"},{"type":"WEB","url":"https://github.com/user-attachments/files/29395284/maintainer-report.txt"},{"type":"WEB","url":"https://github.com/user-attachments/files/29395286/listener.py"},{"type":"WEB","url":"https://github.com/user-attachments/files/29395288/make_spec.py"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63184.json"},{"type":"ADVISORY","url":"https://github.com/christianhelle/refitter/security/advisories/GHSA-x6w4-f264-3vvr"},{"type":"ADVISORY","url":"https://github.com/user-attachments/files/29395272/advisory.md"},{"type":"ADVISORY","url":"https://github.com/user-attachments/files/29395285/advisory.md"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63184"},{"type":"FIX","url":"https://github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7b"},{"type":"FIX","url":"https://github.com/christianhelle/refitter/pull/1173"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/christianhelle/refitter","events":[{"introduced":"0"},{"fixed":"3af907b05317ccdb60ea18be68af619493db64ef"},{"fixed":"6ad20a3803561225100b0a4bb6b12f947d23db7b"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.1.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"6ad20a3803561225100b0a4bb6b12f947d23db7b"}]},{"source":"REFERENCES_TAG","original_tag":"2.1.1","range":[{"fixed":"3af907b05317ccdb60ea18be68af619493db64ef"}]}]}}],"versions":["2.1.0","2.0.0","1.7.3","1.7.2","1.7.1","1.7.0","1.6.5","1.6.4","1.6.3","1.6.2","1.6.1","1.6.0","1.5.6","1.5.5","1.5.4","1.5.3","1.5.2","1.5.1","1.5.0","1.4.1","1.4.0","1.3.2","1.3.1","1.3.0","1.2.0","1.1.3","1.1.2","1.1.1","1.0.2","1.0.1","1.0.0","0.9.9","0.9.8","0.9.7","0.9.6","0.9.5","0.9.4","0.9.2","0.9.1","0.9.0","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.1","0.8.0","0.7.5","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.3","0.6.2","0.6.1","0.6.0","0.5.30","0.5.28","0.5.27","0.5.26","0.5.25","0.5.3","0.5.2","0.5.1","0.5.0","0.4.2","0.4.1","0.4.0","0.3.17","0.3.16","0.3.4","0.3.3","0.3.2","0.3.1","0.3.0","0.2.4-alpha","0.2.3-alpha","0.2.2-alpha","0.2.1-alpha","0.2.0-alpha","0.1.5-alpha","0.1.4-alpha","0.1.3-alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63184.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"}]}