PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-71867 orval-labs CVE debrief

CVE-2026-71867 Orval generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to 8.21.0, a single quote in a schema property name is emitted into single-quoted object keys in generated MSW mock factories without safe encoding. This permits attacker-controlled JavaScript to be evaluated when the generated mock factory is called by tests or an MSW handler, resulting in code execution in the developer, CI, test, or application environment.

Vendor
orval-labs
Product
orval
CVSS
CRITICAL 9.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-19
Original CVE updated
2026-09-09
Advisory published
2026-08-19
Advisory updated
2026-09-09

Who should care

Developers and security teams responsible for projects using Orval should assess their exposure and prioritize updating to version 8.21.0 or later. This includes operators managing affected deployments, platform administrators, vulnerability management teams, and security teams that need to review compensating controls for exposed systems while remediation is scheduled and verified.

Why it matters

CVE-2026-71867 is a critical vulnerability in Orval that allows for code execution in various environments due to improper encoding of schema property names in generated MSW mock factories. Developers and security teams should prioritize updating to version 8.21.0 or later.

  • Code execution in developer, CI, test, or application environments
  • Potential for attacker-controlled JavaScript evaluation
  • Need for safe encoding of schema property names
  • Update to version 8.21.0 or later for fix

Technical summary

The Orval library generates type-safe JavaScript clients in TypeScript from OpenAPI v3 and Swagger v2 specifications. Prior to version 8.21.0, a vulnerability exists in the generated MSW mock factories where single quotes in schema property names are not safely encoded. This allows attacker-controlled JavaScript to be evaluated when the generated mock factory is called, leading to code execution in the developer environment, CI, test environment, or application environment.

Defensive priority

Developers and security teams should prioritize updating to version 8.21.0 or later to address the vulnerability.

Recommended defensive actions

  • Update to version 8.21.0 or later
  • Review and update affected projects
  • Monitor for potential exploitation
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and affected versions. Developers and security teams should verify the affected versions of Orval and assess their exposure. The vulnerability permits attacker-controlled JavaScript to be evaluated when the generated mock factory is called by tests or an MSW handler, resulting in code execution in the developer, CI, test, or application environment. Evidence from the CVE record and NVD entry indicates that the issue is fixed in Or

Sources and references

Verified primary and authoritative sources

  • CVE-2026-71867 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-71867

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-71867 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-71867

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.