CVE-2026-54660

HIGH CVSS 3.1: 7.4 EPSS 0.24%
Updated Jul 30, 2026
swagger-typescript-api
Parameter Value
CVSS 7.4 (HIGH)
Fixed In 13.12.2
Type CWE-200 (Information Exposure), CWE-201, CWE-918 (Server-Side Request Forgery (SSRF)), CWE-522 (Insufficiently Protected Credentials)
Vendor swagger-typescript-api
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1