{"vuln_id":"CVE-2026-76090","aliases":["GHSA-gpcc-36pq-8qxr","GHSA-h3vr-jggp-jw5v","GHSA-3pjr-m3pf-r66v","GHSA-jc99-w66r-pcx5"],"description":"Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)","published_at":"2026-11-18T20:19:12.943000Z","modified_at":"2026-11-19T20:45:04.332682Z","first_seen_at":"2026-11-21T19:15:19.482021Z","severity":"high","severity_source":"nvd","cvss_score":8.4,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-94","CWE-95","CWE-116"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0014,"epss_percentile":0.03382,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090"},"matched_alias":null,"items":[{"id":10999,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-gpcc-36pq-8qxr: Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)","summary":"Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)\n\nThe 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 (-> case-class fields), query/header/path parameter names (-> endpoint input DSL), and operation tags (-> .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.\n\nAffected: Maven:com.softwaremill.sttp.tapir:tapir-openapi-codegen-core\n\nFixed in: 1.13.27\n\nReferences:\nhttps://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-76090\nhttps://github.com/softwaremill/tapir/pull/5395\nhttps://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e\nhttps://github.com/softwaremill/tapir\nhttps://github.com/softwaremill/tapir/releases/tag/v1.13.27","url":"https://osv.dev/vulnerability/GHSA-gpcc-36pq-8qxr","published_at":"2026-11-19T20:39:27Z","updated_at":"2026-11-19T20:45:04.332682Z","fetched_at":"2026-11-21T19:15:55.946360Z","severity":"high","cvss_score":8.4,"epss":0.0014,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"com.softwaremill.sttp.tapir:tapir-openapi-codegen-core","vuln_id":"CVE-2026-76090","vuln_ids":["CVE-2026-76090","GHSA-3PJR-M3PF-R66V","GHSA-GPCC-36PQ-8QXR","GHSA-H3VR-JGGP-JW5V","GHSA-JC99-W66R-PCX5"],"tags":["osv","maven","fix-available"],"cluster_id":2229,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10999","html":"https://vulnwatch.ve1ve2.com/item/10999"}},{"id":2400,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-gpcc-36pq-8qxr / CVE-2026-76090: Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)","summary":"Tapir: Construction/decode RCE via property name -> raw case-class field (tapir-openapi-codegen)\n\nThe 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 (-> case-class fields), query/header/path parameter names (-> endpoint input DSL), and operation tags (-> .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.\n\nAffected packages: maven:com.softwaremill.sttp.tapir:tapir-openapi-codegen-core\nPatched: com.softwaremill.sttp.tapir:tapir-openapi-codegen-core 1.13.27","url":"https://github.com/advisories/GHSA-gpcc-36pq-8qxr","published_at":"2026-11-19T20:39:27Z","updated_at":"2026-11-19T20:39:27Z","fetched_at":"2026-11-21T19:15:18.416807Z","severity":"high","cvss_score":8.4,"epss":0.0014,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"com.softwaremill.sttp.tapir:tapir-openapi-codegen-core","vuln_id":"CVE-2026-76090","vuln_ids":["CVE-2026-76090","GHSA-3PJR-M3PF-R66V","GHSA-GPCC-36PQ-8QXR","GHSA-H3VR-JGGP-JW5V","GHSA-JC99-W66R-PCX5"],"tags":["ghsa","maven","CWE-94","CWE-95","CWE-116"],"cluster_id":2229,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2400","html":"https://vulnwatch.ve1ve2.com/item/2400"}},{"id":8179,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-76090: 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-c…","summary":"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.\n\nReferences:\nhttps://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e\nhttps://github.com/softwaremill/tapir/pull/5395\nhttps://github.com/softwaremill/tapir/releases/tag/v1.13.27\nhttps://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090","published_at":"2026-11-18T20:19:12.943000Z","updated_at":"2026-11-19T15:17:42.290000Z","fetched_at":"2026-11-21T19:15:31.483977Z","severity":"high","cvss_score":8.4,"epss":0.0014,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-76090","vuln_ids":["CVE-2026-76090","GHSA-3PJR-M3PF-R66V","GHSA-GPCC-36PQ-8QXR","GHSA-H3VR-JGGP-JW5V","GHSA-JC99-W66R-PCX5"],"tags":["CWE-94","CWE-95","CWE-116"],"cluster_id":2230,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8179","html":"https://vulnwatch.ve1ve2.com/item/8179"}}]}