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 a header parameter 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-71871
This critical-severity CVE scores 9.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 61% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.3
- EG Score
- 9.3(medium)
- EG Risk
- 57(Track)EG Risk 57/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity93% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 39%
- KEV
- Not listed
Published
August 19, 2026
Last Modified
August 21, 2026
Advisory Details (4)
Auto-updated Aug 23, 2026[SECURITY] Import-time RCE via header-parameter default -> zod module-level template literal · Advisory · orval-labs/orval · GitHub
https://github.com/orval-labs/orval/security/advisories/GHSA-8j6p-r8jg-mxqhRelease v8.21.0
Patch available: orval-labs/orval v8.21.0
https://github.com/orval-labs/orval/releases/tag/v8.21.0fix: escape spec-controlled strings in generated template literals and object keys
Patch available: orval-labs/orval v8.21.0 (PR #3692 merged 2026-07-12)
https://github.com/orval-labs/orval/pull/3692commit 8ef1bfdf3f9b (orval-labs/orval)
Patch available: orval-labs/orval v8.21.0 (contains commit 8ef1bfdf3f9b)
https://github.com/orval-labs/orval/commit/8ef1bfdf3f9bcaf9dabfbe2e42887f1c0e159ab6Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 15× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-25 14:58 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 14:51 UTCEG score recompute
- 2026-08-24 10:49 UTCEG score recompute
- 2026-08-23 02:34 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 02:27 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 22:26 UTCEG score recompute
- 2026-08-21 22:00 UTCEG score recompute
- 2026-08-21 02:40 UTCEG score recompute
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-19 18:29 UTCEG score recompute
- 2026-08-19 17:43 UTCEG score recompute
- 2026-08-19 17:42 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p97HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p96HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2026-71871?
When was CVE-2026-71871 disclosed?
Is CVE-2026-71871 actively exploited?
What is the CVSS score of CVE-2026-71871?
How do I remediate CVE-2026-71871?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-71871
Is Your Infrastructure Affected by CVE-2026-71871?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.