CVE-2026-76090
Tapir code injection in OpenAPI code generator
An attacker who tricks a user into processing a crafted OpenAPI file can run arbitrary Scala code.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-76090 divulgada · CVSS 8.4 (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 ninguna | |
| 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 |
Tapir, a Scala library for describing HTTP APIs, has a flaw in its OpenAPI code generator where crafted property, parameter, and tag names in an untrusted document are placed into generated Scala source without proper escaping. A local attacker who gets a user to process such a document can run arbitrary Scala code when the generated code is compiled or endpoints are assembled, without logging in.
Affects tapir-openapi-codegen-core generating Scala code from an untrusted OpenAPI document before 1.13.27. Fixed in 1.13.27.
Descripción original del registro (GitHub_M)
Tapir is a Scala library for describing HTTP APIs and exposing, consuming, and documenting them using open standards. Prior to 1.13.27, tapir-openapi-codegen-core generates Scala source from untrusted OpenAPI documents by interpolating object property names, query, header, and path parameter names, and operation tags without context-appropriate validation or escaping. Crafted names or values can break out of generated identifier or string-literal contexts and inject arbitrary Scala that executes when generated code is compiled or endpoints are assembled. This is a code-generation and build-time issue and does not make a running tapir server directly exploitable. This issue is fixed in version 1.13.27.
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 |
|---|---|---|---|---|
tapir |
Corregida | 1.13.27 | — | — |
1.13.27Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxrhttps://github.com/softwaremill/tapir/pull/5395https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145ehttps://github.com/softwaremill/tapir/releases/tag/v1.13.27Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
