# CVE-2026-96754: orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T16:23:51.012Z
- Modified: 2026-09-29T02:16:56.303Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

orval versions before 8.29.0 contain a code injection vulnerability in the @orval/hono generator that fails to escape OpenAPI path values in single-quoted route literals. Attackers can craft an OpenAPI document with an apostrophe in a static path segment to inject arbitrary JavaScript code that executes when the generated TypeScript module is imported.

(As written by CVE List.)

## Affected

- orval-labs orval: before 8.29.0 (not affected: 8.29.0)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/orval-labs/orval/security/advisories/GHSA-g4mf-q5hw-f9j9> (exploit, vendor-advisory)
- <https://github.com/orval-labs/orval/pull/4006> (issue-tracking, patch)
- <https://github.com/orval-labs/orval/commit/155a5b7a38ff6886020cbc4c292db57c2793e6b6> (patch)
- <https://github.com/orval-labs/orval/commit/d346d94a660e50a2f8d0f7c17fee2c4c69d8dc23> (patch)
- <https://github.com/orval-labs/orval/blob/v8.28.1/packages/hono/src/index.ts#L169-L175> (technical-description)
- <https://github.com/orval-labs/orval> (product)
- <https://www.vulncheck.com/advisories/orval-orval-hono-before-8.29.0-code-injection-via-openapi-path> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-96754](https://www.cve.org/CVERecord?id=CVE-2026-96754), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2026-96754](https://nvd.nist.gov/vuln/detail/CVE-2026-96754), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-96754 · Whole record: https://cve.day/CVE-2026-96754.json · Rebuilt by cve.day 2026-11-25T22:59:40.648Z
