CVE-2026-24132: Vulnerability in Orval
Critical. I am reporting a code injection vulnerability in Orval’s mock generation pipeline affecting @orval/mock in both the 7.x and 8.x series. This issue is related in impact to the previously reported enum x-enumDescriptions (https://github.com/advisories/GHSA-h526-wf6g-67jv), but it affects a different code path in the faker-based mock generator rather than @orval/core.
npm, CWE-77, CWE-94
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-f456-rf33-4626
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-77, CWE-94
- Published
- 22 Jan 2026
- Last change
- 17 Jun 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Orval From 6.0.0 before 7.20.0; From 8.0.0 before 8.0.3. Fixed in 7.20.0, 8.0.3
Affected packages
Vulnerable version ranges and fixed releases
- @orval/mock npm, Affected before 7.20.0. Fixed in 7.20.0
Patches and fixes
Updates, commits and release notes
- github.com/orval-labs/orval/commit/44ca8c1f5f930a3e4cefb6b79b38bcde7f8532a5
- github.com/orval-labs/orval/commit/6d8ece07ccb80693ad43edabccb3957aceadcd06
- github.com/orval-labs/orval/commit/9b211cddc9f009f8a671e4ac5c6cb72cd8646b62
- github.com/orval-labs/orval/pull/2828
- github.com/orval-labs/orval/pull/2829
- github.com/orval-labs/orval/pull/2830
Related
- Orval vulnerabilities Recent advisories, watch this product