Arbitrary Command Injection Affecting @orval/core package, versions >=7.10.0 <7.19.0>=8.0.0-rc.0 <8.0.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.1% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ORVALCORE-15038726
  • published20 Jan 2026
  • disclosed20 Jan 2026
  • creditBen

Introduced: 20 Jan 2026

NewCVE-2026-23947  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade @orval/core to version 7.19.0, 8.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection via the getEnumImplementation function. An attacker can execute arbitrary code in environments that consume generated clients by supplying a crafted OpenAPI specification containing malicious content in the x-enumDescriptions field.

References

CVSS Base Scores

version 4.0
version 3.1