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

Source: [GitHub Advisory Database](https://github.com/advisories/GHSA-3fhm-p725-h3g3) · 2026-11-20 · Security
Page: https://themorning.dev/story/refitter-allows-arbitrary-code-execution-through-unescaped-openapi-paths-cve-202-117fa12dd2c8605e
Kind: security · Impact: high

## In 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.

## CVEs

- CVE-2026-63345

## Timeline

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

## Coverage

- [Refitter allows arbitrary code execution through unescaped OpenAPI paths (CVE-2026-63345)](https://github.com/advisories/GHSA-3fhm-p725-h3g3) — GitHub Advisory Database, 2026-11-20

Tags: refitter, security, code-execution, openapi, cve-2026-63345

---

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
