SCA: security update for orval (GHSA-3575-w9fc-c2j6)

critical Tenable Cloud Security Plugin ID 447602

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications.
Prior to 8.21.0, a ${...} expression or backtick in an enum default is emitted into a module-level
template literal emitted by zod schema generation without safe encoding. This permits attacker-controlled
JavaScript to be evaluated when the generated zod schema module is imported, resulting in code execution
in the developer, CI, test, or application environment. The affected code is packages/zod/src/index.ts
function formatDefaultValue. This issue is fixed in version 8.21.0. (CVE-2026-71868)

Solution

Update the orval library and its related packages to version 8.21.0 or later.

See Also

https://github.com/advisories/GHSA-3575-w9fc-c2j6

Plugin Details

Severity: Critical

ID: 447602

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 9/3/2026

Updated: 9/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.17

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2026-71868

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/3/2026

Vulnerability Publication Date: 8/19/2026

Reference Information

CVE: CVE-2026-71868