patchminder
Proof of concept · GitHub CVE-2026-23947

Code executionin orval-labs orval.

Published 20 Jan 2026 · Updated 21 Jan 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.8% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 7.19.0, 8.0.2
In plain words

Orval generates type-safe JS clients (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification. Versions prior to 7.19.0 until 8.0.2 are vulnerable to arbitrary code execution in environments consuming generated clients. This issue is similar in nature to CVE-2026-22785, but affects a different code path in @orval/core that was not addressed by CVE-2026-22785's fix. The vulnerability allows untrusted OpenAPI specifications to inject arbitrary TypeScript/JavaScript code into generated clients via the x-enumDescriptions field, which is embedded without proper escaping in getEnumImplementation(). I have confirmed that the injection occurs during const enum generation and results in executable code within the generated schema files. Orval 7.19.0 and 8.0.2 contain a fix for the issue.

What to do now
  • Upgrade orval to 7.19.0, 8.0.2 or later, whichever matches your release line.
  • Upgrade @orval/core (npm) to 7.19.0, 8.0.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
orval
8.0.0-rc.0 to before 8.0.2
8.0.2
CVE record
orval
before 7.19.0
7.19.0
CVE record
@orval/core (npm)
8.0.0-rc.0 to before 8.0.2
8.0.2
GitHub advisory
@orval/core (npm)
before 7.19.0
7.19.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 Jan 2026
    CVE ID reserved by GitHub_M.
  2. 20 Jan 2026
    Published in the CVE List.
  3. 21 Jan 2026
    First public proof of concept on GitHub.
  4. 21 Jan 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundboroeurnprach/CVE-2026-23947-PoC0 stars · created 21 Jan 2026CVE-2026-23947 · Orval Arbitrary Code Execution

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other orval vulnerabilities

Same weakness: Command injection

All CWE-77 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-23947: Code execution in orval-labs orval. https://patchminder.com/cve/cve-2026-23947/ (accessed 5 December 2026).