---
title: "CVE-2026-63346: Refitter allows code execution through unescaped OpenAPI header parameter names"
url: https://erroneo.us/security/cve/CVE-2026-63346/
description: "CVE-2026-63346 (Refitter (NuGet)): Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.2, the header parameter name…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-10-30
date_modified: 2026-11-20
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-63346"
kev: false
cvss: 8.6
epss: 0.00568
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-63346: Refitter allows code execution through unescaped OpenAPI header parameter names

**Signal:** Normal patch cycle. No exploitation signal; fix it in your next routine update if you are affected. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.6% , percentile 48: FIRST’s model estimates a 0.6% chance of exploitation activity in the next 30 days, higher than 48% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Only applies if your dependency tree includes Refitter (NuGet) < 2.1.2, fixed in 2.1.2 . Check your lockfile, including transitive dependencies.

## What it is

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(" ")] 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.

## Affected packages

- NuGet `Refitter` < 2.1.2 → fixed: 2.1.2

## Affected products (CVE record)

- christianhelle refitter: < 2.1.2

## Severity

- GitHub_M CVSS 4.0: 8.6 `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`
- GitHub CVSS 4.0: 9.3 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-11-21): 0.57% probability of exploitation activity in the next 30 days; percentile 48.

## Sources

- [GitHub Advisory GHSA-58x9-vjvp-6mx8](https://github.com/advisories/GHSA-58x9-vjvp-6mx8)
- [CVE.org record CVE-2026-63346](https://www.cve.org/CVERecord?id=CVE-2026-63346)
- [NVD entry CVE-2026-63346](https://nvd.nist.gov/vuln/detail/CVE-2026-63346)
- [github.com](https://github.com/christianhelle/refitter/security/advisories/GHSA-58x9-vjvp-6mx8)
- [github.com](https://github.com/christianhelle/refitter/pull/1178)
- [github.com](https://github.com/christianhelle/refitter/commit/63a19b03699a9c267d6fab5f758ec26484db83a1)
- [github.com](https://github.com/christianhelle/refitter/releases/tag/2.1.2)
- [github.com](https://github.com/user-attachments/files/29395048/maintainer-report.txt)
- [github.com](https://github.com/user-attachments/files/29395050/make_spec.py)
- [github.com](https://github.com/user-attachments/files/29395051/reproduce.sh)

---
Source page: https://erroneo.us/security/cve/CVE-2026-63346/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
