CVE-2026-63345: Refitter allows arbitrary code execution through unescaped OpenAPI paths
Affects RefitterSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 2.1.2 soon.
Data as of 20 Nov 2026, 01:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 8.6 |
|---|
- Patch
- Available – fixed in 2.1.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade Refitter to 2.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NuGetRefitter | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Refitter version 2.1.2 or later, where this vulnerability is fixed. The fix involves escaping route templates before embedding them into attribute strings and validating that paths contain only legal URI-template characters. The same escaping and validation apply to all attributes embedding spec-derived strings.
Description
Refitter versions prior to 2.1.2 allow arbitrary code execution via unescaped OpenAPI path strings embedded directly into Refit attribute strings. An attacker can craft a single-line path that closes the attribute and interface context, injects a file-scoped class with a .NET ModuleInitializer method, and reopens namespaces/interfaces to maintain valid code. This injected code executes at assembly load, enabling code execution at application startup. The vulnerability affects Refitter 2.0.0 and earlier and is fixed in version 2.1.2.
References
- github.com/christianhelle/refitter/security/advisories/GHSA-3fhm-p725-h3g3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63345 (opens in a new tab)
- github.com/christianhelle/refitter/pull/1178 (opens in a new tab)
- github.com/christianhelle/refitter/commit/793d2632899c2022511dfc15e30725ef69073973 (opens in a new tab)
- github.com/christianhelle/refitter (opens in a new tab)
- github.com/christianhelle/refitter/releases/tag/2.1.2 (opens in a new tab)
- github.com/user-attachments/files/29395228/maintainer-report.txt (opens in a new tab)
- github.com/user-attachments/files/29395229/make_spec.py (opens in a new tab)
- github.com/user-attachments/files/29395230/reproduce.sh (opens in a new tab)