CVE-2026-63346
Last modified
CVE-2026-63346 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, the header parameter name in `parameters[].name` with `in: header` is emitted verbatim into a Refit `[Header("<name>")]` attribute string without escaping quotation marks.
Description
Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, the header parameter name in `parameters[].name` with `in: header` is emitted verbatim into a Refit `[Header("<name>")]` attribute string without escaping quotation marks. An attacker-influenced OpenAPI description can pass default validation without `--skip-validation` and break out from the parameter-list position by closing the parameter and method syntax, attribute, interface, and namespace. The generated file can remain valid C# while containing a top-level file class with a `[ModuleInitializer]` method, which executes attacker code when the compiled assembly is loaded at application startup, even if the client is never called. Query `AliasAs` and enum/default value sinks are escaped; this flaw is in header-name attribute-string emission. The behavior was verified with Refitter 2.0.0 and .NET 8. This issue is fixed in version 2.1.2.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| christianhelle | refitter | < 2.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-63346?
How severe is CVE-2026-63346?
How do I fix CVE-2026-63346?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-6334Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13 fa…3.8
- CVE-2026-63341Aedes is an MQTT broker that can run on any stream server. P…7.5
- CVE-2026-63342Hatchet is a platform for orchestrating background tasks, AI…6.3
- CVE-2026-63343Incus is a system container and virtual machine manager. Pri…9.9
- CVE-2026-63344Refitter is a tool for generating a C# REST API client using…8.6
- CVE-2026-63345Refitter is a tool for generating a C# REST API client using…8.6
- CVE-2026-63349AnyIO is a high level asynchronous concurrency and networkin…7
- CVE-2026-6335GitLab has remediated an issue in GitLab CE/EE affecting all…5.4
- CVE-2026-63350Affected devices do not properly restrict executable content…9.6
- CVE-2026-63351Affected devices do not properly validate and sanitize visua…6.1
- CVE-2026-63352Affected devices do not properly sanitize calculated signal …6.1
- CVE-2026-63353Affected devices do not properly sanitize comment fields con…9.6
Are you affected by CVE-2026-63346?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
