CVE-2026-76090
Published:November 18, 2026
Updated:November 19, 2026
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.
Affected Packages
https://github.com/softwaremill/tapir.git (GITHUB):
Affected version(s) >=v1.0.0-M1 <v1.13.27Fix Suggestion:
Update to version v1.13.27com.softwaremill.sttp.tapir:tapir-openapi-codegen-core_2.12 (JAVA):
Affected version(s) >=1.0.0-M1 <1.13.27Fix Suggestion:
Update to version 1.13.27com.softwaremill.sttp.tapir:tapir-openapi-codegen-core_3 (JAVA):
Affected version(s) >=1.13.12 <1.13.27Fix Suggestion:
Update to version 1.13.27Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.14