International
The Morning Dev

Only the news worth knowing

‹
 

Security · High impactFan score 42 · Tier B

Refitter allows arbitrary code execution through unescaped OpenAPI paths (CVE-2026-63345)

GitHub Advisory Database ·

The Brief

  • Refitter writes each OpenAPI path key verbatim into a Refit [Get(" ")] attribute string without escaping quotes or restricting characters.
  • A crafted single-line path starting with / passes Refitter's default OpenAPI validation and can break out of the string, enabling arbitrary code execution.
  • The issue is tracked as CVE-2026-63345 and was published in the GitHub Advisory Database on 2026-11-20.

Why it matters

Developers who run Refitter on OpenAPI specs they did not write, such as third-party or untrusted specs, may execute attacker-controlled code during client generation.

Who’s affected

  • Teams generating Refit clients with Refitter from OpenAPI specifications

Affects Refitter. Summary Refitter emits each OpenAPI path (the paths-object key) verbatim into a Refit [Get(" ")] attribute string, without escaping " or restricting characters. A crafted single-line, /-prefixed path survives Refitter's default OpenAPI validation yet closes the…

Timeline

  1. Vulnerability published in GitHub Advisory Database

  2. GitHub Advisory Database

    Refitter allows arbitrary code execution through unescaped OpenAPI paths (CVE-2026-63345)

How do you feel about this?

0 Comments

    Refitter allows arbitrary code execution through unescaped OpenAPI paths (CVE-2026-63345) – The Morning Dev