Technical impact
Refitter injects unvalidated OpenAPI $ref references into generated C# client code, allowing an attacker to supply remote http(s) URLs or local file paths that are resolved on the developer or CI machine. The resulting resolution causes the host to perform external requests or read local files, enabling data exfiltration or SSRF. The flaw does not provide direct code execution because Refitter does not execute the output; it merely generates source that, when compiled, may expose included data through API calls. Thus the impact is limited to network requests and local file disclosure on the build host.
Affected Systems
The CVE affects versions of Refitter below 2.1.1, including the 2.1.0 and earlier releases distributed via the dotnet tool. These versions were used by developers to generate client code from external OpenAPI specifications.
Risk and Exploitability
The CVSS score of 7.1 reflects a moderate to high severity due to the potential for SSRF and local file inclusion. EPSS information is not available, and the vulnerability is not listed in the KEV catalog. The attack requires control over the OpenAPI specification supplied to Refitter, which is typically a trusted source; if an attacker can influence that source, they can execute the chain. The risk is therefore significant for development or continuous‑integration environments that process untrusted specifications.