CVE-2026-76090
High 8.4No known exploitationFix availableTapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)
Vendor advisory: GHSA-gpcc-36pq-8qxr
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 3% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-94, CWE-95, CWE-116
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| maven | com.softwaremill.sttp.tapir:tapir-openapi-codegen-core | all versions before 1.13.27 | 1.13.27 | GitHub Advisory Database |
| softwaremill | tapir | < 1.13.27 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-gpcc-36pq-8qxr (opens in a new tab)github-advisory
- https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e (opens in a new tab)x_refsource_misc
- https://github.com/softwaremill/tapir/pull/5395 (opens in a new tab)x_refsource_misc
- https://github.com/softwaremill/tapir/releases/tag/v1.13.27 (opens in a new tab)x_refsource_misc
- https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr (opens in a new tab)x_refsource_confirm