← Vulnerabilities

HighAdvisory.NET / C#

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

Affected

PackageAffected versionsFixed in
nuget:Refitter< 2.1.12.1.1

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 --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…

Read on GitHub Advisory Database

On 11/20/2026, 11:35 PM, GitHub Advisory Database published "Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion" (type: Advisory). Severity is "High" (high). Related technologies: .NET / C#. CVE: CVE-2026-63184.