{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-76090","id":"CVE-2026-76090","title":"Tapir code execution via OpenAPI Scala code generation","description":"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 b","descriptionLong":"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.","published":"2026-11-18T20:05:47.597Z","updated":"2026-11-18T22:00:24.383954768Z","reserved":"2026-08-18T21:17:32.201Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":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/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","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"high","products":["softwaremill tapir"],"affectedProducts":[{"vendor":"softwaremill","product":"tapir","defaultStatus":null,"versions":[{"version":"< 1.13.27","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-94","CWE-95","CWE-116"],"aliases":["GHSA-gpcc-36pq-8qxr"],"references":[{"url":"https://github.com/softwaremill/tapir/security/advisories/GHSA-gpcc-36pq-8qxr","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/softwaremill/tapir/pull/5395","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/softwaremill/tapir/commit/e015939b78df2de0fa3d3b8ed02961425e02145e","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/softwaremill/tapir/releases/tag/v1.13.27","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76090.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-76090","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76090","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-76090","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-76090","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}