freenode

← CVE tracker

CVE-2026-76090

Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)

Severity
high CVSS 8.4 (v4.0)
Affects
tapir · softwaremill
Weakness
CWE-94: Improper Control of Generation of Code
Published
18 November 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.