{"affected":[{"product":"refitter","source":"CNA: GitHub_M","vendor":"christianhelle","versions":[{"status":"affected","version":"< 2.1.2"}]}],"cveId":"CVE-2026-63346","cwes":["CWE-94","CWE-116"],"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.","epss":{"date":"2026-11-02","percentile":0.28695,"score":0.0035},"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/christianhelle/refitter/security/advisories/GHSA-58x9-vjvp-6mx8"}],"kev":null,"metrics":[{"score":8.6,"severity":"high","source":"CNA: GitHub_M","vector":"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","version":"4.0"}],"modifiedAt":1793630840841,"publishedAt":1793398622231,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/christianhelle/refitter/security/advisories/GHSA-58x9-vjvp-6mx8"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/christianhelle/refitter/pull/1178"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/christianhelle/refitter/commit/63a19b03699a9c267d6fab5f758ec26484db83a1"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/christianhelle/refitter/releases/tag/2.1.2"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/user-attachments/files/29395048/maintainer-report.txt"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/user-attachments/files/29395050/make_spec.py"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/user-attachments/files/29395051/reproduce.sh"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/christianhelle/refitter/security/advisories/GHSA-58x9-vjvp-6mx8"}],"remediation":[],"revision":"b7f02f4632a569a3153ebea727f0f39690cd30a4a2e61c95a6155dfc8c7c8fee","sources":[{"modifiedAt":1793630840841,"name":"CNA: GitHub_M","retrievedAt":1793632147993,"url":"https://www.cve.org/CVERecord?id=CVE-2026-63346"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1793632150811,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-63346"}],"ssvc":{"assessedAt":1793630810420,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Refitter: C# source injection through OpenAPI header parameter names","updatedAt":1793632150811}