{"id":"CVE-2026-96755","title":"orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals","summary":"orval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema def…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-94"],"vendor":"orval-labs","product":"orval","affected":["orval >= 8.14.0 < 8.29.0"],"published":"2026-09-23","updated":"2026-09-23","sourceUpdated":"2026-09-23T18:16:08.337","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-96755","references":[{"url":"https://github.com/orval-labs/orval","label":"disclosure@vulncheck.com"},{"url":"https://github.com/orval-labs/orval/blob/v8.28.1/packages/effect/src/index.ts#L298-L302","label":"disclosure@vulncheck.com"},{"url":"https://github.com/orval-labs/orval/commit/d346d94a660e50a2f8d0f7c17fee2c4c69d8dc23","label":"disclosure@vulncheck.com"},{"url":"https://github.com/orval-labs/orval/pull/3995","label":"disclosure@vulncheck.com"},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-q7f2-jg6j-r867","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/orval-orval-effect-8.14.0-through-8.28.1-code-injection","label":"disclosure@vulncheck.com"},{"url":"https://github.com/orval-labs/orval/security/advisories/GHSA-q7f2-jg6j-r867","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org"],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-23T16:47:05.260070Z"},"ingestedAt":"2026-09-23T17:28:14.857Z","slug":"CVE-2026-96755","body":"## Overview\n\norval versions 8.14.0 through 8.28.1 contain a code injection vulnerability in the @orval/effect generator that converts OpenAPI schema defaults into template literals. Attackers can inject arbitrary JavaScript expressions via schema defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}