# CVE-2026-63184: Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T21:49:06.793Z
- Modified: 2026-11-20T14:45:04.540Z
- Also known as: GHSA-x6w4-f264-3vvr
- Weaknesses: CWE-829, CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- christianhelle refitter: < 2.1.1
- Refitter (NuGet): before 2.1.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `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-3vvr> (exploit, web)
- <https://github.com/christianhelle/refitter/pull/1173> (web)
- <https://github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7b> (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> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63184> (advisory)
- <https://github.com/christianhelle/refitter> (package)

## Sources

- CVE List: [CVE-2026-63184](https://www.cve.org/CVERecord?id=CVE-2026-63184), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-x6w4-f264-3vvr](https://github.com/advisories/GHSA-x6w4-f264-3vvr), CC-BY-4.0, modified 2026-11-20
- NVD: [CVE-2026-63184](https://nvd.nist.gov/vuln/detail/CVE-2026-63184), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-63184 · Whole record: https://cve.day/CVE-2026-63184.json · Rebuilt by cve.day 2026-11-25T22:59:48.039Z
