Code Generation Vulnerability in Tapir Library by SoftwareMill
CVE-2026-76090

8.4HIGH

Key Information:

Status
Vendor
CVE Published:
18 November 2026

What is CVE-2026-76090?

The Tapir library, used for describing and documenting HTTP APIs in Scala, has a vulnerability that arises in its code-generation process. Prior to version 1.13.27, tapir-openapi-codegen-core improperly handles untrusted OpenAPI documents by interpolating object property names and other values without sufficient validation. This flaw can allow attackers to insert crafted names or values, potentially leading to execution of arbitrary Scala code when the generated code is compiled. While this vulnerability is related to the build process and does not directly compromise a running Tapir server, it poses significant risks during development and requires immediate attention to safeguard against potential exploitation.

Affected Version(s)

tapir < 1.13.27

References

CVSS V4

Score:
8.4
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.