Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. orval
  4. ›
  5. CVE-2026-62681

CVE-2026-62681: Orval: RCE via OpenAPI path -> unescaped request-URL template literal (backtick breakout)

September 3, 2026

Orval emits the OpenAPI path into the generated request URL as a TEMPLATE LITERAL (`/users/...`) without escaping the backtick character. A path containing a backtick closes the template literal and injects a concatenation expression that is evaluated when the generated URL/request/key function is called, executing attacker-controlled code. Affects the axios, fetch, react-query, and swr clients. Verified on Orval 8.19.0; survives Orval’s default OpenAPI validation.

References

  • github.com/advisories/GHSA-fg9p-mrxr-hvq7
  • github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6
  • github.com/orval-labs/orval/pull/3692
  • github.com/orval-labs/orval/releases/tag/v8.21.0
  • github.com/orval-labs/orval/security/advisories/GHSA-fg9p-mrxr-hvq7
  • nvd.nist.gov/vuln/detail/CVE-2026-62681

Code Behaviors & Features

Detect and mitigate CVE-2026-62681 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 8.21.0

Fixed versions

  • 8.21.0

Solution

Upgrade to version 8.21.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/orval/CVE-2026-62681.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:31 +0000.