csirt@kutim:~/threat-intel/cve/CVE-2026-23947

Katalog CVE

CVSS 9.8 · Critical EPSS 0,85%

Kerentanan Improper Neutralization of Special Elements used in a Command ('Command Injection') pada orval. Skor CVSS 3.1 9.8 (Critical) menurut NVD.

Deskripsi (NVD)

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.

Rincian

Terbit di NVD
20 Januari 2026
Terakhir diubah
17 Juni 2026
Status NVD
Analyzed
CVSS 3.1
9.8 (Critical), sumber NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · uraikan di kalkulator
Jenis kelemahan (CWE)
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CWE-94: Improper Control of Generation of Code ('Code Injection')
EPSS (30 hari)
0,85% peluang dieksploitasi; lebih tinggi dari 56,8% CVE lain

Produk dan versi terdampak

VendorProdukVersi terdampak
orval orval Semua versi sebelum 7.19.0
orval orval Versi 8.0.0 hingga sebelum 8.0.2

> Data dari konfigurasi CPE di NVD.

Referensi dan perbaikan

Sumber: NVD · CVE.org · EPSS. Halaman ini disusun otomatis dari data tersebut; pembaruan terakhir 5 Okt 2026, 20:11 WITA. Kalau sistem di Perangkat Daerah memakai produk ini dan butuh bantuan, laporkan lewat kanal pelaporan.