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

Related