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

Source: [GitHub Advisory Database](https://github.com/advisories/GHSA-p32v-8v8j-j534) · 2026-11-20 · Security
Page: https://themorning.dev/story/refitter-allows-arbitrary-code-execution-through-unescaped-openapi-content-type-285080841451ffe8
Kind: security · Impact: high

## In brief

- Refitter writes OpenAPI content-type keys verbatim into Refit Headers attribute strings without escaping double quotes.
- A crafted content-type value survives Refitter's default OpenAPI validation, enabling arbitrary code execution (CVE-2026-63344).
- The advisory was published in the GitHub Advisory Database on 2026-11-20.

## Why it matters

Teams that generate Refit clients with Refitter from OpenAPI specs they do not fully control could have arbitrary code executed through the generated code.

## CVEs

- CVE-2026-63344

## Timeline

- 2026-11-20: Advisory published in GitHub Advisory Database

## Coverage

- [Refitter allows arbitrary code execution through unescaped OpenAPI content-type values (CVE-2026-63344)](https://github.com/advisories/GHSA-p32v-8v8j-j534) — GitHub Advisory Database, 2026-11-20

Tags: security, refitter, openapi, code-generation, refit, cve

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
