{"id":"CVE-2026-76090","published":"2026-11-18T20:05:47Z","modified":"2026-11-19T14:57:21Z","title":"Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)","vendor":"softwaremill","product":"tapir","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0014,"percentile":0.03468,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/softwaremill/tapir/pull/5395","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwaremill/tapir/releases/tag/v1.13.27","tags":["x_refsource_MISC"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":0.69},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"softwaremill","affectedVersions":[{"vendor":"softwaremill","product":"tapir","versions":["< 1.13.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-19T14:57:05.663304Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.softwaremill.sttp.tapir:tapir-openapi-codegen-core","vulnerableRanges":["<1.13.27"],"patched":["1.13.27"],"from":["GHSA-gpcc-36pq-8qxr"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-129177","exploited":false,"provenance":"source"}}