CVE-2026-96755: orval @orval/effect 8.14.0 through 8.28.1 Code Injection

Published Sep 23, 2026
·
Updated

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 defaults containing ${...} syntax, which are executed at module scope when the generated code is built or imported.

Affected Software

1 affected component
npm/@orval/effect>=8.14.0<=8.28.1

Event History

Sep 23, 2026
CVE Published
via MITRE·04:23 PM
Data Sourced
via MITRE·04:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Projects using the @orval/effect generator in orval versions 8.14.0 through 8.28.1 are exposed when they generate code from an OpenAPI schema whose defaults an attacker can influence.

2

What does an attacker need to exploit it?

An attacker needs to introduce an OpenAPI schema default containing ${...} syntax. The vulnerable generator converts that default into a template literal, allowing the injected JavaScript expression to execute when generated code is built or imported.

3

When does the injected code run?

The injected expression executes at module scope when the generated code is built or imported. Exploitation therefore does not require a user to invoke a particular generated API operation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203