SCA: security update for @orval/core (GHSA-h526-wf6g-67jv)

critical Tenable Self-Hosted Container Security Plugin ID 436835

Description

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

- 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. (CVE-2026-23947)

See Also

https://github.com/advisories/GHSA-h526-wf6g-67jv

Plugin Details

Severity: Critical

ID: 436835

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 1/21/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.88

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-23947

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: 1/21/2026

Vulnerability Publication Date: 1/20/2026

Reference Information

CVE: CVE-2026-23947