CVE-2026-76090
8.4HighPublished 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Active
- Impact
- Full C/I/A compromise
- Weakness
- CWE-94, CWE-95, CWE-116
What an attacker gets
Attackers can inject arbitrary Scala code into your build process by providing malicious OpenAPI documents. This code executes during compilation or endpoint assembly, potentially compromising your build environment.
Root cause
The library fails to properly escape or validate property names and parameters when generating Scala source code from OpenAPI specifications.
Affected versions
tapir-openapi-codegen-core versions prior to 1.13.27
CVSS v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade tapir-openapi-codegen-core to version 1.13.27 or later. Ensure all OpenAPI documents used for code generation are sourced from trusted origins.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.