CVE-2026-76090
Tapir is a Scala library for describing HTTP APIs and exposing, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e
- github.com/softwaremill/tapir/pull/5395
- github.com/softwaremill/tapir/releases/tag/v1.13.27
- github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr
- nvd.nist.gov/vuln/detail/CVE-2026-76090
- github.com/advisories/GHSA-gpcc-36pq-8qxr
- nvd.nist.gov/vuln/detail/CVE-2026-76090
- cve.org/CVERecord?id=CVE-2026-76090
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.