CVE-2026-96754
orval versions before 8.29.0 contain a code injection vulnerability …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/orval-labs/orval
- github.com/orval-labs/orval/blob/v8.28.1/packages/hono/src/index.ts#L169-L175
- github.com/orval-labs/orval/commit/155a5b7a38ff6886020cbc4c292db57c2793e6b6
- github.com/orval-labs/orval/commit/d346d94a660e50a2f8d0f7c17fee2c4c69d8dc23
- github.com/orval-labs/orval/pull/4006
- github.com/orval-labs/orval/security/advisories/GHSA-g4mf-q5hw-f9j9
- www.vulncheck.com/advisories/orval-orval-hono-before-8.29.0-code-injection-via-openapi-pat
- nvd.nist.gov/vuln/detail/CVE-2026-96754
- cve.org/CVERecord?id=CVE-2026-96754
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.