# CVE-2026-76090: Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)

- Severity: High 8.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-11-18T20:05:47.597Z
- Modified: 2026-11-19T20:45:04.332Z
- Also known as: GHSA-gpcc-36pq-8qxr
- Weaknesses: CWE-94, CWE-95, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- softwaremill tapir: < 1.13.27
- com.softwaremill.sttp.tapir:tapir-openapi-codegen-core (Maven): before 1.13.27

## Every score

- GitHub_M: CVSS:4.0 8.4 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr> (web)
- <https://github.com/softwaremill/tapir/pull/5395> (web)
- <https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e> (web)
- <https://github.com/softwaremill/tapir/releases/tag/v1.13.27> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-76090> (advisory)
- <https://github.com/softwaremill/tapir> (package)

## Sources

- CVE List: [CVE-2026-76090](https://www.cve.org/CVERecord?id=CVE-2026-76090), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-gpcc-36pq-8qxr](https://github.com/advisories/GHSA-gpcc-36pq-8qxr), CC-BY-4.0, modified 2026-11-19
- NVD: [CVE-2026-76090](https://nvd.nist.gov/vuln/detail/CVE-2026-76090), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-76090 · Whole record: https://cve.day/CVE-2026-76090.json · Rebuilt by cve.day 2026-11-25T22:59:51.901Z
