Code Generation Vulnerability in Tapir Library by SoftwareMill
CVE-2026-76090
8.4HIGH
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
