CVE-2026-108551

LOWCVSS 9.3 · CRITICAL

Signal is active with 3 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD description

openapi-typescript-codegen through 0.31.0 contains a code injection vulnerability that allows attackers controlling an OpenAPI document to inject JavaScript by supplying unescaped values interpolated into single-quoted string literals. Attackers can embed a single quote in path keys, parameter names, servers[0].url, or info.version to execute arbitrary JavaScript when generated clients are imported or service methods called.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-94

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

STABLE

Threat summary

  • 5 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Peaked at 3 mentions on most recent observed day (2026-10-11)
  • 5 total mentions across 2 days

Deep dive

Activity timeline5 mentions / 2d
01223Mentions · 2026-10-10: 2Mentions · 2026-10-11: 310-1010-11
Referenced assets4 URLs
Full discourse5 posts
  • ♫Why♥Not♪@Python_s_

    #NØØT_Security_Alerts 🚨 #ALERT — CRITICAL OPENAPI CODE GENERATOR FLAW ENABLES ARBITRARY JAVASCRIPT EXECUTION October 10, 2026 PRODUCT: openapi-typescript-codegen (npm) CVE: CVE-2026-108551 SEVERITY: Critical — CVSS 9.3 (v4) AFFECTED VERSIONS: 0.31.0 and earlier. No verified fixed release. IMPACT: Attackers controlling an OpenAPI specification can inject malicious JavaScript into generated TypeScript clients. Code may execute when the client is imported or an affected API method runs, potentially compromising CI pipelines and applications. EXPLOITATION STATUS: CONFIRMED CODE-INJECTION VULNERABILITY. Initially reported September 4; CVE published October 10. No verified active exploitation or publicly released PoC. Forensic triage: Inspect OpenAPI path keys, parameter names, servers[0].url, and info.version for suspicious JavaScript. Review generated clients and CI execution logs. URGENT ACTION: Stop processing untrusted OpenAPI specifications. Audit existing generated clients, restrict CI inputs, and monitor for a verified security fix. SOURCE: https://github.com/ferdikoomen/openapi-typescript-codegen/issues/2809 CVE RECORD: https://github.com/advisories/GHSA-3pr5-x7xf-mg4g CONFIDENCE: HIGH — Published CVE and identifiable vulnerable template code. Real-world exploitation remains unverified. #CyberSecurity #ThreatIntel #CodeInjection #DevSecOps #SupplyChainSecurity #NØØT

    0001061
    231 followersView on X
  • Upwind Security MDR@UpwindMDR

    🚨Critical - openapi-typescript-codegen JS Code Injection via OpenAPI Spec Interpolation (CVE-2026-108551) openapi-typescript-codegen <= 0.31.0 interpolates unescaped OpenAPI fields into single-quoted JS string literals. A malicious spec can inject a ' via path keys, parameter names, servers[0].url, or info.version, leading to arbitrary JS execution when generated clients are imported or when service methods run. 👉Affected: openapi-typescript-codegen <= 0.31.0

    0000049
    315 followersView on X
  • ThreatAft@ThreatAft

    Your CI/CD pipeline trusts OpenAPI specs. Should it? CVE-2026-108551: openapi-typescript-codegen ≤0.31.0 injects JavaScript from an attacker-controlled spec into every generated client. Both CVSS 9.8. Neither has active exploits yet. 🔗 https://threataft.com/articles/code-injection-duo-cve-2026-108551-108598 #CyberSecurity

    0000043
    49 followersView on X
  • TwitGri@TwitGri

    ⚠️ CVE-2026-108551 : openapi-typescript-codegen ≤0.31.0 permet d'injecter du JavaScript via une spécification OpenAPI piégée. Risque pour les pipelines CI/CD. Aucune exploitation confirmée. Projet non maintenu : migrez vers @hey-api/openapi-ts. #Cyber #DevSecOps

    0000038
    40 followersView on X
  • Severity Daily@severitydaily

    openapi-typescript-codegen said two years ago it would deprecate all its npm versions. None of the 109 ever was, and the latest carries a 9.8 code injection with no fix. No exploitation reported. https://severitydaily.com/openapi-typescript-codegen-cve-2026-108551-no-fix-0-31-0-npm-deprecation-never-applied/

    0000025
    33 followersView on X

Explore more