CVE Catalog

CVE-2026-96755

CriticalCVSS 9.8
Published: Translated: NVD NIST

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

Risk Assessment

Injected expressions can execute arbitrary code at import or build time, potentially leading to compromise of development or production environments.

Recommendation

Upgrade orval to version 8.29.0 or later and inspect OpenAPI schemas for malicious default values.

Other vulnerabilities in orval

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS