{"id":"CVE-2026-54660","sourceIdentifier":"security-advisories@github.com","published":"2026-07-29T15:16:25.300","lastModified":"2026-10-23T23:10:00.157","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"swagger-typescript-api genera clientes API para Fetch o Axios a partir de especificaciones OpenAPI. Antes de la versión 13.12.2, src/resolved-swagger-schema.ts getRemoteRequestHeaders reenvía --authorizationToken a cada URL obtenida por fetchRemoteSchemaDocument mientras warmUpRemoteSchemasCache resuelve URLs $ref externas, permitiendo que una especificación OpenAPI controlada por un atacante exfiltre el token portador del desarrollador o de CI a un endpoint de origen cruzado. Este problema está solucionado en la versión 13.12.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"acacode","product":"swagger-typescript-api","versions":[{"version":"< 13.12.2","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":4.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-30T13:41:48.053235Z","id":"CVE-2026-54660","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-200"},{"lang":"en","value":"CWE-201"},{"lang":"en","value":"CWE-522"},{"lang":"en","value":"CWE-918"}]}],"references":[{"url":"https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9de","source":"security-advisories@github.com"},{"url":"https://github.com/acacode/swagger-typescript-api/pull/1779","source":"security-advisories@github.com"},{"url":"https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2","source":"security-advisories@github.com"},{"url":"https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-h754-fxp7-88wx","source":"security-advisories@github.com"},{"url":"https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-h754-fxp7-88wx","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}