Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-63344
Published:October 30, 2026
Updated:November 03, 2026
Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, content-type keys in the content maps of "requestBody/responses" are emitted verbatim into a Refit "[Headers("Accept: <ct>", "Content-Type: <ct>")]" attribute string without escaping quotation marks. A crafted content-type key in an attacker-influenced OpenAPI description survives default validation without "--skip-validation", breaks out of the attribute string and enclosing interface and namespace, and can introduce a top-level file class while leaving valid generated C#. A "[ModuleInitializer]" method in that class executes attacker code when the generated assembly is loaded at application startup, without requiring a call to the client. The behavior was verified with Refitter 2.0.0 and .NET 8. This issue is fixed in version 2.1.2.
Affected Packages
Refitter.Core (DOT_NET):
Affected version(s) >=0.2.1.0 <2.1.2 || >=1.0.0.0 <2.1.2 || >=2.0.0.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
https://github.com/christianhelle/refitter.git (GITHUB):
Affected version(s) >=0.1.3-alpha <2.1.2 || >=1.0.0 <2.1.2 || >=2.0.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
refitter (NUGET):
Affected version(s) >=0.1.2-alpha <2.1.2 || >=1.0.0 <2.1.2 || >=2.0.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
refitter.core (NUGET):
Affected version(s) >=0.2.1-alpha <2.1.2 || >=1.0.0 <2.1.2 || >=2.0.0 <2.1.2
Fix Suggestion:
Update to version 2.1.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code
Improper Encoding or Escaping of Output
EPSS
Base Score:
0.35