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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-116",
"CWE-94",
"CWE-95"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76090.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.13.27"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "e015939b78df2de0fa3d3b8ed02961425e02145e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.13.27",
"range": [
{
"fixed": "3ad7228f3a300cfd7ae066d87b8e3ff244484316"
}
],
"source": "REFERENCES_TAG"
}
]
}