CVE-2026-76090
Maven · com.softwaremill.sttp.tapir:tapir-openapi-codegen-core
Résumé
Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
Détails de l’avis
The OpenAPI code generator (tapir-openapi-codegen-core) builds Scala source by string templating and emitted several names/values from the (untrusted) OpenAPI document without escaping or validation, allowing injection of arbitrary Scala that runs at generated-code compile time and/or endpoint-assembly time (build/codegen-time RCE from an attacker-controlled spec).
This advisory covers the full class of sinks, all sharing one root cause and one fix (PR #5395, commit e015939b7): object property names (-> case-class fields), query/header/path parameter names (-> endpoint input DSL), and operation tags (-> .tags(List(...))). The fix routes identifier-position names through validation/quoting and string-literal values through JavaEscape.escapeString.
Consolidates the separately-reported query-param (GHSA-h3vr-jggp-jw5v), header-param (GHSA-3pjr-m3pf-r66v) and tag (GHSA-jc99-w66r-pcx5) sinks, which are the same issue.
Références
- https://github.com/advisories/GHSA-gpcc-36pq-8qxr
- https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr
- https://nvd.nist.gov/vuln/detail/CVE-2026-76090
- https://github.com/softwaremill/tapir/pull/5395
- https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e
- https://github.com/softwaremill/tapir/releases/tag/v1.13.27
Vulnérabilités liées
Tout Supply chain →- CRITICALCVE-2026-63412
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CRITICALCVE-2026-63411
Jane: Instantiation RCE via parameter description -> raw PHPDoc */ breakout (jane-php/open-api-3)
- HIGHCVE-2026-61433
PraisonAI: API deploy code generator embeds unescaped YAML fields into Python source
- CRITICALCVE-2026-63344
Refitter allows arbitrary code execution through unescaped OpenAPI content-type values
- CRITICALCVE-2026-63346
Refitter allows code execution through unescaped OpenAPI header parameter names
- MEDIUMGHSA-4rj4-rcrq-gr92
Safari MCP: JavaScript injection through single-quoted tool arguments (backslash not escaped)