Security · High impactFan score 42 · Tier B
Refitter allows arbitrary code execution through unescaped OpenAPI paths (CVE-2026-63345)
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
- CVE-2026-63345
- #refitter
- #security
- #code-execution
- #openapi
- #cve-2026-63345
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…