Skip to main content
VulnerabilityPublished

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

Affects RefitterSource GCVE Database

0
Compare
Authoritative record:CVE-2026-63345· High 8.6

Not known to be exploited · CVSS 8.6 High : upgrade to 2.1.2 soon.

Data as of 20 Nov 2026, 01:50 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.6
Patch
Available – fixed in 2.1.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Upgrade Refitter to 2.1.2.

Affected software

ProductAffectedFixed in
NuGetRefitterAffected
  • <2.1.2
Fixed in
  • 2.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Refitter version 2.1.2 or later, where this vulnerability is fixed. The fix involves escaping route templates before embedding them into attribute strings and validating that paths contain only legal URI-template characters. The same escaping and validation apply to all attributes embedding spec-derived strings.

Description

Refitter versions prior to 2.1.2 allow arbitrary code execution via unescaped OpenAPI path strings embedded directly into Refit attribute strings. An attacker can craft a single-line path that closes the attribute and interface context, injects a file-scoped class with a .NET ModuleInitializer method, and reopens namespaces/interfaces to maintain valid code. This injected code executes at assembly load, enabling code execution at application startup. The vulnerability affects Refitter 2.0.0 and earlier and is fixed in version 2.1.2.

References

Community reviews

Loading reviews…