CVE-2026-76090
published high CVSS 4.0 · 8.4Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| softwaremill | — | tapir< 1.13.27 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| softwaremill | tapir | < 1.13.27 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-94 CWE-94: Improper Control of Generation of Code
- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
4Provider assertions
2GitHub_M · cna
Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9a1f52b9ed3f8f26650448548afd5d3e5b77a4063c1f97b4386783f4fd4dcdb8
- Ingested
- 19 Nov 2026, 14:59:14 UTC
- Source record
- Official CVE record