---
title: "CVE-2026-63344: Refitter allows arbitrary code execution through unescaped OpenAPI content-type values"
url: https://erroneo.us/security/cve/CVE-2026-63344/
description: "CVE-2026-63344 (Refitter (NuGet)): 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…"
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-63344"
kev: false
cvss: 8.6
epss: 0.00568
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-63344: Refitter allows arbitrary code execution through unescaped OpenAPI content-type values

**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, content-type keys in the content maps of requestBody/responses are emitted verbatim into a Refit [Headers("Accept: ", "Content-Type: ")] 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

- 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-p32v-8v8j-j534](https://github.com/advisories/GHSA-p32v-8v8j-j534)
- [CVE.org record CVE-2026-63344](https://www.cve.org/CVERecord?id=CVE-2026-63344)
- [NVD entry CVE-2026-63344](https://nvd.nist.gov/vuln/detail/CVE-2026-63344)
- [github.com](https://github.com/christianhelle/refitter/security/advisories/GHSA-p32v-8v8j-j534)
- [github.com](https://github.com/christianhelle/refitter/pull/1178)
- [github.com](https://github.com/christianhelle/refitter/commit/ab4d8e439d6f0ee82ad49ee15323978d70fe5a67)
- [github.com](https://github.com/christianhelle/refitter/releases/tag/2.1.2)
- [github.com](https://github.com/user-attachments/files/29394848/reproduce.sh)
- [github.com](https://github.com/user-attachments/files/29394851/maintainer-report.txt)
- [github.com](https://github.com/user-attachments/files/29394853/make_spec.py)

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