PT-2026-134240
CVE-2026-63346
·
Published
2026-10-30
·
Updated
2026-10-30
Description by
CVSS 4.0
8.6
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Refitter versions prior to 2.1.2
Description
Refitter fails to escape quotation marks when emitting the header parameter name from
parameters[].name (where in: header) into a Refit [Header("<name>")] attribute string. An attacker can provide a malicious OpenAPI description that bypasses default validation to inject arbitrary C# code. This allows the creation of a top-level file class containing a [ModuleInitializer] method, which executes the attacker's code automatically when the compiled assembly is loaded at application startup, regardless of whether the client is actually used.Recommendations
Update Refitter to version 2.1.2.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾