CVE-2026-54664: 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.sch
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.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-54664
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2026-546640.27% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 19% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-54664 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
Recent advisories for swagger-typescript-api generates API
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- highCVE-2026-54666: swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification.…nvd · 2026-07-29
- mediumCVE-2026-54663: swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. P…nvd · 2026-07-29
- highCVE-2026-54662: swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. P…nvd · 2026-07-29
- highCVE-2026-54661: swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification.…nvd · 2026-07-29
- highCVE-2026-54660: swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. P…nvd · 2026-07-29
- highGHSA-w284-33mx-6g9v: swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in…ghsa · 2026-07-29
More from NVD Recent CVEs
- unknownCVE-2026-55735: Improper Verification of Cryptographic Signature in ueberauth guardian allows an unauthenticat…2026-08-01
- unknownCVE-2026-55734: Allocation of Resources Without Limits or Throttling vulnerability in ueberauth guardian (Guar…2026-08-01
- unknownCVE-2026-55733: Allocation of Resources Without Limits or Throttling in ueberauth guardian allows denial of se…2026-08-01
- unknownCVE-2026-54894: Allocation of Resources Without Limits or Throttling in ueberauth guardian allows denial of se…2026-08-01
- mediumCVE-2026-67355: guzzlehttp/guzzle versions before 7.15.1 fail to preserve host-only cookie scope, storing the …2026-08-01