Security · High impactFan score 43 · Tier B
Refitter allows arbitrary code execution through unescaped OpenAPI content-type values (CVE-2026-63344)
The 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.
Who’s affected
- Teams using Refitter to generate Refit clients
- Anyone generating code from untrusted OpenAPI specifications
- CVE-2026-63344
- #security
- #refitter
- #openapi
- #code-generation
- #refit
- #cve
Affects Refitter. Summary Refitter emits the spec's content-type key (content map key in requestBody/responses) verbatim into a Refit [Headers("Accept: ", "Content-Type: ")] attribute string without escaping ". A crafted value survives Refitter's default OpenAPI validation…