CVE-2026-63184
Refitter: Unrestricted OpenAPI references permit build-host SSRF and file inclusion
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-63184 divulgada · CVSS 7.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Refitter, a .NET tool that generates C# REST API clients from OpenAPI descriptions, is affected when it processes untrusted specifications. Attackers can use crafted schema references to make the developer or CI build machine send requests to internal resources and read local files, which are then embedded in the generated code.
Affects Refitter 2.0.0 and earlier when the OpenAPI spec given to it has $ref values pointing to remote URLs or local file paths. Fixed in 2.1.1. No vendor severity rating is given; CVSS is 7.1 (high).
Descripción original del registro (GitHub_M)
Refitter is a tool for generating a C# REST API client using the Refit library. Prior to 2.1.1, the `refitter` dotnet tool invokes `NJsonSchema` with unsafe defaults for `$ref` resolution when generating Refit interfaces and contracts from attacker-controlled or attacker-influenced OpenAPI descriptions. Remote `http(s)` references cause requests from the developer or CI host and inline untrusted remote schema content into generated output. Absolute local file paths and relative `../` traversal outside the input directory also resolve and inline local content, permitting arbitrary local-file disclosure. The demonstrated chain stops at server-side request forgery, remote file inclusion, and local file inclusion, not code execution: Refit sets the base URL at runtime, enum values use verbatim-string doubling, and string defaults are escaped. This issue is fixed in version 2.1.1.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
refitter |
Corregida | 2.1.1 | — | — |
2.1.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/christianhelle/refitter/security/advisories/GHSA-x6w4-f264-3vvrhttps://github.com/christianhelle/refitter/pull/1173https://github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7bhttps://github.com/christianhelle/refitter/releases/tag/2.1.1https://github.com/user-attachments/files/29395269/reproduce.shhttps://github.com/user-attachments/files/29395271/maintainer-report.txthttps://github.com/user-attachments/files/29395272/advisory.mdhttps://github.com/user-attachments/files/29395283/reproduce.shhttps://github.com/user-attachments/files/29395284/maintainer-report.txthttps://github.com/user-attachments/files/29395285/advisory.mdhttps://github.com/user-attachments/files/29395286/listener.pyhttps://github.com/user-attachments/files/29395288/make_spec.pyLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
