llamaCVEVulnerability Intelligence
/
Advisory · GitHub · NuGet · Refitter

GHSA-X6W4-F264-3VVR

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

Texto original en inglés · Ver en español

Parche disponible
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: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2.1.1
Exposición1 dDesde la divulgación, 20 nov 2026, 9:35 a. m.
Detección1 minDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Ni alarma ni olvido: seguimiento.Échale un ojo a tu inventario, ¿dale?
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: GitHub Security Advisories +2
07:50 p. m.
09:35 a. m.
10:09 a. m.
04:44 p. m.
07:50 p. m.
07:04 a. m.
06:17 p. m.
05:30 a. m.
04:44 p. m.
FechaFaseEventoDetalle
Monitoreo Detectada Ingresó al índice
Divulgación Publicada GHSA-X6W4-F264-3VVR divulgada · CVSS 7.1 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: GitHub Security Advisories Registro visto por primera vez en GitHub Security Advisories
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
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
  • `$ref: /abs/path.json#/...` or `../../secret.json#/...` -> out-of-tree local file read + inlined

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 `$ref`s 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 https://github.com/user-attachments/files/29395271/maintainer-report.txt
advisory.md https://github.com/user-attachments/files/29395272/advisory.md
reproduce.sh https://github.com/user-attachments/files/29395283/reproduce.sh
maintainer-report.txt https://github.com/user-attachments/files/29395284/maintainer-report.txt
advisory.md https://github.com/user-attachments/files/29395285/advisory.md
listener.py https://github.com/user-attachments/files/29395286/listener.py
make_spec.py https://github.com/user-attachments/files/29395288/make_spec.py

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
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
Score de explotaciónQué tan fácil y probable es que la exploten
8.3/ 10Alto
Vector 8.3 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
Refitter< 2.1.1
2.1.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
NuGetRefitter
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
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-63184
Otrahttps://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
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
Ver 2 referencias más
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.