llamaCVEVulnerability Intelligence
/
refitter

CVE-2026-63184

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

Specific setups onlyParche disponibleuntrusted code inclusion
Descargar PNG JSON
CVSS 3.1
7.1
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2.1.1
Exposición20 dDesde la divulgación, 30 oct 2026, 4:49 p. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: OSV
Verificada
30 oct 26
2 nov 26
20 nov 26
30 oct 26
5 nov 26
10 nov 26
15 nov 26
20 nov 26
FechaFaseEventoDetalle
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
Resumen
Resumen generado por IA · CC-BY 4.0

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).

¿Qué significa?Refitter follows $ref values in OpenAPI specs without restrictions. A spec can make the developer or CI machine request an internal or attacker-chosen URL during the build (server-side request forgery), pull untrusted schema content into the generated code, or read local files through absolute or ../ paths.
¿Quién está afectado?Refitter 2.0.0 and earlier, when the spec passed to it contains $ref values that point to remote URLs or local file paths. To check, look at the Refitter version used in the build, such as the version pinned in the project's dotnet tool manifest, and search the spec for $ref values.
¿Qué hacer?Upgrade Refitter to 2.1.1 or later, which is the listed fixed version.
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.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Refitter (the refitter dotnet tool) version 2.0.0 or earlier“Refitter 2.0.0.”
02
The OpenAPI spec given to refitter contains $ref values pointing to remote URLs or local file paths“on a spec whose $ref points at an attacker/internal URL”
¿Quién debe revisar?Teams running the refitter .NET tool (2.0.0 or earlier) to generate Refit clients from OpenAPI specs they do not fully control, including CI hosts that run it.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
Refitter≤ 2.0.0
refitter< 2.1.1
2.0.0
2.1.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
refitter
Corregida 2.1.1 — —
Versiones corregidas2.1.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/christianhelle/refitter/security/advisories/GHSA-x6w4-f264-3vvr
Otrahttps://github.com/christianhelle/refitter/pull/1173
Otrahttps://github.com/christianhelle/refitter/commit/6ad20a3803561225100b0a4bb6b12f947d23db7b
Otrahttps://github.com/christianhelle/refitter/releases/tag/2.1.1
Otrahttps://github.com/user-attachments/files/29395269/reproduce.sh
Otrahttps://github.com/user-attachments/files/29395271/maintainer-report.txt
Otrahttps://github.com/user-attachments/files/29395272/advisory.md
Otrahttps://github.com/user-attachments/files/29395283/reproduce.sh
Otrahttps://github.com/user-attachments/files/29395284/maintainer-report.txt
Otrahttps://github.com/user-attachments/files/29395285/advisory.md
Otrahttps://github.com/user-attachments/files/29395286/listener.py
Otrahttps://github.com/user-attachments/files/29395288/make_spec.py

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.