Skip to main content

CVE-2026-63184 — Vulnerability in Refitter — CVE Details

HIGH

Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion

Published November 20, 2026Updated November 20, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.72%). Schedule for your next planned update.

Does your project use an affected Refitter version?

Paste your packages.lock.json to check it for CVE-2026-63184 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Summary

Refitter (the refitter dotnet tool, built on NJsonSchema for $ref resolution) fetches remote http(s) URLs and reads local files (including absolute paths and ../ traversal outside the input directory), inlining the referenced schema into the generated Refit interface/contracts. Running refitter <spec> --output Out.cs on a spec whose $ref points at an attacker/internal URL or an arbitrary local file yields SSRF, remote file inclusion, and local file inclusion. Verified on Refitter 2.0.0.

Details

  • $ref: http://attacker-or-internal/evil.json#/... -> build host fetches (SSRF) and inlines the remote schema (RFI); confirmed property REMOTE_REFIT_PROP.
  • $ref: /abs/path.json#/... or ../../secret.json#/... -> out-of-tree local file read + inlined (LFI); confirmed property REFIT_LFI_MARKER. Both absolute and relative traversal work.

No RCE: Refitter emits Refit interfaces with no baseUrl string literal (Refit sets the base address at runtime), enum values use C# verbatim-string doubling, and string defaults are escaped. The chain stops at SSRF + RFI + LFI.

The $ref resolution is performed by Refitter's NJsonSchema dependency, which Refitter ships and invokes with these unsafe defaults.

PoC

reproduce.sh (+ make_spec.py, listener.py) attached: installs the .NET SDK + Refitter if needed, confirms LFI (out-of-tree read), SSRF (listener hit during generation), and RFI (remote schema inlined). Verified on 2.0.0.

Impact

Build-time SSRF (CWE-918) from the developer or CI host, disclosure of arbitrary local files (CWE-22), and inclusion of untrusted remote content (CWE-829), from running Refitter on an attacker-controlled or attacker-influenced OpenAPI description. No code execution. Estimated Medium-High, e.g. [reproduce.sh](https://github.com/user-attachments/files/29395269/reproduce.sh) (the CNA sets the final score).

Suggested fix

Don't resolve remote $refs by default (opt-in + host allowlist); confine local $ref resolution to the input directory tree (reject absolute paths and ../ escapes). Apply at all nesting levels. Coordinate with NJsonSchema, where the resolver lives. maintainer-report.txt advisory.md reproduce.sh maintainer-report.txt advisory.md listener.py make_spec.py

Advisory Timeline

  • First published November 20, 2026 (6 days ago).
  • Last revised November 20, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Refitter to 2.1.1 or later
dotnet add package Refitter --version 2.1.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Refitter NuGet · Affected: 0.1.2-alpha, 0.1.3-alpha, 0.1.4-alpha, 0.1.5-alpha (+107 more)2.1.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Frequently Asked Questions

What is CVE-2026-63184?
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.1/10).
How do I check if my project is affected by CVE-2026-63184?
CVE-2026-63184 affects Refitter. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-63184 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.1

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.72%
EPSS percentile: 49.7

This is a below-median EPSS score — only 49.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-x6w4-f264-3vvr

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json