swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification. Prior to 13.12.2, src/schema-parser/base-schema-parsers/enum.ts passes components.schemas.*.enum[i] values to Ts.StringValue in src/configuration.ts without escaping before templates/base/enum-data-contract.ejs renders TypeScript enum declarations, allowing an attacker-controlled OpenAPI spec to inject code that executes when the generated module is imported. This issue is fixed in version 13.12.2.
CVE-2026-54664
This high-severity CVE scores 8.3 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 81% 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
- 8.3
- EG Score
- 8.3(medium)
- EG Risk
- 53(Track*)EG Risk 53/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 computedSeverity83% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 0%
- EPSS %ILE
- 19%
- KEV
- Not listed
Published
July 29, 2026
Last Modified
July 30, 2026
Advisory Details (4)
Auto-updated Jul 29, 2026v13.12.2
Patch available: acacode/swagger-typescript-api v13.12.2
https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2commit 306d59acb8ff (acacode/swagger-typescript-api)
Patch available: acacode/swagger-typescript-api v13.12.2 (contains commit 306d59acb8ff)
https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9deSecurity/fixing vulnerabilities
Patch available: acacode/swagger-typescript-api v13.12.2 (PR #1779 merged 2026-06-08)
https://github.com/acacode/swagger-typescript-api/pull/1779Code injection via unescaped enum string values; module-load RCE in generated client when run against an attacker-controlled OpenAPI spec · Advisory · acacode/swagger-typescript-api · GitHub
https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-5f94-x226-ccpmVendor Advisories for CVE-2026-54664(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| swagger-typescript-api | — | 13.12.2 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 7× 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-07-30 16:34 UTCEG score recompute
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 15:40 UTCEG score recompute
- 2026-07-30 13:34 UTCEG score recompute
- 2026-07-29 15:21 UTCEG score recompute
- 2026-07-29 14:48 UTCEG score recompute
- 2026-07-29 14:47 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-94 · CWE-74
- 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-2005-3056EG 9.8CRITICAL
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p95HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
- CVE-2006-1303EG 9.3EPSS p98HIGH
- CVE-2005-3650EG 9.3EPSS p93HIGH
Frequently asked(5)
What is CVE-2026-54664?
When was CVE-2026-54664 disclosed?
Is CVE-2026-54664 actively exploited?
What is the CVSS score of CVE-2026-54664?
How do I remediate CVE-2026-54664?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54664
Is Your Infrastructure Affected by CVE-2026-54664?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.