International
The Morning Dev

Only the news worth knowing

‹
 

Security · High impactFan score 43 · Tier B

Refitter allows code execution through unescaped OpenAPI header parameter names (CVE-2026-63346)

GitHub Advisory Database ·

The Brief

  • Refitter copies OpenAPI header parameter names verbatim into Refit [Header] attributes without escaping double quotes.
  • A crafted header name survives Refitter's default OpenAPI validation and can break out of the attribute.
  • The issue is tracked as CVE-2026-63346 and was published in the GitHub Advisory Database on 2026-11-20.

Why it matters

Teams that generate Refit clients from OpenAPI specs they do not fully trust may run attacker-supplied code during code generation.

Who’s affected

  • Refitter users generating clients from untrusted OpenAPI specifications

Affects Refitter. Summary Refitter emits the spec's header parameter name (parameters[].name with in: header) verbatim into a Refit [Header(" ")] attribute string without escaping ". A crafted value survives Refitter's default OpenAPI validation, breaks out of the attribute and…

Timeline

  1. Advisory published in GitHub Advisory Database

  2. GitHub Advisory Database

    Refitter allows code execution through unescaped OpenAPI header parameter names (CVE-2026-63346)

How do you feel about this?

0 Comments

    Refitter allows code execution through unescaped OpenAPI header parameter names (CVE-2026-63346) – The Morning Dev