Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-96754 EUVD-2026-85404GHSA-4p56-cvjx-38fv

orval @orval/hono before 8.29.0 Code Injection via OpenAPI Path

Published Sep 23, 2026 · Updated Sep 29, 2026 · 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.

Affected products

VendorProductAffectedFixed
orval-labs orval < 8.29.0 8.29.0

References