CVE Catalog

CVE-2026-54660

HighCVSS 7.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

16th percentile - higher than 16% of all known CVEs

Summary

swagger-typescript-api prior to 13.12.2 forwards the --authorizationToken to every request fetching remote OpenAPI schemas. An attacker can use a malicious spec to exfiltrate this token to an external endpoint.

Risk Assessment

Token exfiltration can allow an attacker to impersonate the developer or CI system, gaining unauthorized access to resources.

Recommendation

Upgrade swagger-typescript-api to version 13.12.2 which removes this behavior.

Other vulnerabilities in swagger-typescript-api

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS