{"id":"GHSA-gpcc-36pq-8qxr","summary":"Tapir: Construction/decode RCE via property name -\u003e raw case-class field (tapir-openapi-codegen)","details":"The OpenAPI code generator (tapir-openapi-codegen-core) builds Scala source by string templating and emitted several names/values from the (untrusted) OpenAPI document without escaping or validation, allowing injection of arbitrary Scala that runs at generated-code compile time and/or endpoint-assembly time (build/codegen-time RCE from an attacker-controlled spec).\n\nThis advisory covers the full class of sinks, all sharing one root cause and one fix (PR #5395, commit e015939b7): object property names (-\u003e case-class fields), query/header/path parameter names (-\u003e endpoint input DSL), and operation tags (-\u003e .tags(List(...))). The fix routes identifier-position names through validation/quoting and string-literal values through JavaEscape.escapeString.\n\nConsolidates the separately-reported query-param (GHSA-h3vr-jggp-jw5v), header-param (GHSA-3pjr-m3pf-r66v) and tag (GHSA-jc99-w66r-pcx5) sinks, which are the same issue.","aliases":["CVE-2026-76090"],"modified":"2026-11-19T20:45:04.332682214Z","published":"2026-11-19T20:39:27Z","database_specific":{"github_reviewed_at":"2026-11-19T20:39:27Z","nvd_published_at":"2026-11-18T20:19:12Z","cwe_ids":["CWE-116","CWE-94","CWE-95"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090"},{"type":"WEB","url":"https://github.com/softwaremill/tapir/pull/5395"},{"type":"WEB","url":"https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e"},{"type":"PACKAGE","url":"https://github.com/softwaremill/tapir"},{"type":"WEB","url":"https://github.com/softwaremill/tapir/releases/tag/v1.13.27"}],"affected":[{"package":{"name":"com.softwaremill.sttp.tapir:tapir-openapi-codegen-core","ecosystem":"Maven","purl":"pkg:maven/com.softwaremill.sttp.tapir/tapir-openapi-codegen-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.27"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-gpcc-36pq-8qxr/GHSA-gpcc-36pq-8qxr.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}