Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-54664: swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification

39
Routine
HIGH 8.3

CVE-2026-54664 is a high-severity flaw (CVSS 8.3) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 imp

Why this priority

  • High severity

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score8.3 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.5% (top 60%)
CISA exploited listNo
WeaknessCWE-74, CWE-94, CWE-1336
Published2026-07-29
Last modified2026-10-23
Publisher (CNA): GitHub, Inc.

Timeline

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

References

← Back to latest CVEs