CVE-2026-76090
Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
- CVSS
- 8.4
- EPSS
- 0.18% (p8)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-19
- Product
- softwaremill tapir
- Aliases
- GHSA-gpcc-36pq-8qxr
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
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.
Fixed in
1.13.27
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Maven | com.softwaremill.sttp.tapir:tapir-openapi-codegen-core | < 1.13.27 | 1.13.27 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr x_refsource_CONFIRM
- https://github.com/softwaremill/tapir/pull/5395 x_refsource_MISC
- https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e x_refsource_MISC
- https://github.com/softwaremill/tapir/releases/tag/v1.13.27 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76090.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-76090 advisory
- https://github.com/advisories/GHSA-gpcc-36pq-8qxr other