Security readout for executives and security teams
Plain-English summary
CVE-2026-23947 affects Orval, a tool that generates TypeScript/JavaScript API clients from OpenAPI or Swagger files. A malicious API specification can cause unsafe code to be written into generated client files. Risk is highest where teams generate or consume clients from third-party, partner, or otherwise untrusted API specs.
Executive priority
Treat as urgent for engineering environments that consume external API specifications. Prioritize dependency upgrades and regeneration of clients, especially in CI/CD pipelines or SDK generation workflows that process partner, customer, or internet-sourced specs.
Technical view
Affected Orval versions embed x-enumDescriptions content without proper escaping during enum generation in @orval/core getEnumImplementation(). This can place attacker-controlled TypeScript/JavaScript into generated schema files, leading to arbitrary code execution when generated clients are consumed. Fixed versions are 7.19.0 and 8.0.2, per the advisory.
Likely exposure
Organizations using Orval before 7.19.0, or 8.0.0-rc.0 through before 8.0.2, are exposed when generating clients from untrusted or compromised OpenAPI/Swagger specifications.
Exploitation context
No public source provided states active exploitation, and the CVE is not listed as KEV. Exploitation depends on influencing an OpenAPI/Swagger specification that Orval processes and on downstream use of the generated client code.
Researcher notes
This issue is described as similar to CVE-2026-22785 but in a different @orval/core path. Public details indicate injection through x-enumDescriptions during const enum generation. Do not assume prior fixes for CVE-2026-22785 cover this issue.
Mitigation direction
- Upgrade Orval to 7.19.0 or 8.0.2, as appropriate for your release line.
- Regenerate affected clients after upgrading Orval.
- Avoid generating clients from untrusted OpenAPI or Swagger specifications until upgraded.
- Review vendor advisory and release notes for any additional project-specific guidance.
Validation and detection
- Inventory projects using Orval or @orval/core.
- Check lockfiles and dependency manifests for affected Orval versions.
- Identify generated clients created from third-party or untrusted specifications.
- Review generated schema files from untrusted specs for unexpected code changes.
- Confirm builds use Orval 7.19.0 or 8.0.2 after remediation.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-77: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupExecution behavior lookup
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2026-23947 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Critical
- CVSS
- 9.3 (4.0)
- Known Exploited
- No
- Published
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
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
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——Primary CVE scoreVulnerability scoring details
Base CVSS 4.0 score
9.3CriticalVector: 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
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/orval-labs/orval/security/advisories/GHSA-h526-wf6g-67jvCVE reference · x_refsource_CONFIRM
- https://github.com/orval-labs/orval/releases/tag/v8.0.2CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Special Elements used in a Command ('Command Injection')
Improper Neutralization of Special Elements used in a Command ('Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
