CVE-2026-63345Christianhelle Refitter code injection
CVSS score
8.6
High
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.57%
0.57% chance of exploitation in the next 30 days, higher than 48.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, OpenAPI `paths`-object keys are emitted verbatim into Refit route attributes such as `[Get("<path>")]` without escaping quotation marks or restricting characters. An attacker-influenced single-line, slash-prefixed path survives default validation without `--skip-validation` and can close the attribute string, interface, and namespace while introducing a top-level file class and reopening the generated structure to keep valid C#. A `[ModuleInitializer]` method executes attacker code when an application compiles and loads the generated assembly at startup, even without calling the generated client. The enum and default value sinks are escaped and are not the vulnerable path-emission sink. The behavior was verified on Refitter 2.0.0 with .NET 8. This issue is fixed in version 2.1.2.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running christianhelle Refitter and compare its version with the affected versions.
Update to a fixed version
- Update Refitter to 2.1.2 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Active
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| christianhelle Refitter | < 2.1.2 |
Frequently asked questions
Is CVE-2026-63345 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-63345?
CVE-2026-63345 has a CVSS 4.0 base score of 8.6 (high).
Which versions are affected?
Christianhelle Refitter (< 2.1.2)
Is there a patch for CVE-2026-63345?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/christianhelle/refitter/commit/793d2632899c2022511dfc15e30725ef69073973
- github.com/christianhelle/refitter/pull/1178
- github.com/christianhelle/refitter/releases/tag/2.1.2
- github.com/christianhelle/refitter/security/advisories/GHSA-3fhm-p725-h3g3
- github.com/user-attachments/files/29395228/maintainer-report.txt
- github.com/user-attachments/files/29395229/make_spec.py
- github.com/user-attachments/files/29395230/reproduce.sh
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.