SSRF in Acacode Swagger-Typescript-Api

CVE-2026-54660

swagger-typescript-api generates API clients for Fetch or Axios from OpenAPI specifications. Prior to 13.12.2, src/resolved-swagger-schema.ts getRemoteRequestHeaders forwards --authorizationToken to every URL fetched by fetchRemoteSchemaDocument while warmUpRemoteSchemasCache resolves external $ref URLs, allowing an attacker-controlled OpenAPI spec to exfiltrate the developer or CI bearer token to a cross-origin endpoint. This issue is fixed in version 13.12.2.

Vulnerability class: Information Disclosure

EPSS: 0.002 (15.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-54660?
CVE-2026-54660 is a high-severity vulnerability in Acacode Swagger-Typescript-Api, classified under Information Disclosure. CVSS score: 7.4/10. Published 2026-07-29.
How severe is CVE-2026-54660?
High severity. CVSS v3 base score is 7.4 out of 10.