{"id":"CVE-2026-76090","aliases":["GHSA-gpcc-36pq-8qxr"],"title":"Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)","originalDescription":"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.","severity":{"cvss":8.4,"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","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00182,"percentile":0.08125},"exploitDb":null},"affected":[{"ecosystem":"Maven","name":"com.softwaremill.sttp.tapir:tapir-openapi-codegen-core","range":"< 1.13.27","fixed":"1.13.27"}],"references":[{"url":"https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr","type":"x_refsource_CONFIRM"},{"url":"https://github.com/softwaremill/tapir/pull/5395","type":"x_refsource_MISC"},{"url":"https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e","type":"x_refsource_MISC"},{"url":"https://github.com/softwaremill/tapir/releases/tag/v1.13.27","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76090.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090","type":"advisory"},{"url":"https://github.com/advisories/GHSA-gpcc-36pq-8qxr","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-19T15:43:47.173Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090","license":"NVD terms of use","firstSeenAt":"2026-11-18T20:21:19.073Z"},{"name":"osv","at":"2026-11-19T21:47:42.827Z","url":"https://osv.dev/vulnerability/CVE-2026-76090","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T22:33:25.917Z"},{"name":"ghsa","at":"2026-12-04T22:43:25.258Z","url":"https://github.com/advisories/GHSA-gpcc-36pq-8qxr","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T20:41:25.543Z"},{"name":"cvelistV5","at":"2026-11-19T22:18:41.335Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-76090","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T20:19:19.055Z"}],"firstSeenAt":"2026-11-18T20:19:19.055Z","publishedAt":"2026-11-18T20:05:47.597Z","modifiedAt":"2026-11-19T21:01:50.044Z"}