Live threats

All CVEs / acacode

CVE-2026-54660acacode swagger-typescript-api

High 7.4 No auth needed

Priority
59
CVSS 3.1
7.4
EPSS
—
Auth required
No
Published
Jul 29, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-201, CWE-522, CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for swagger-typescript-api.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm swagger-typescript-api < 13.12.2 13.12.2 npm install swagger-typescript-api@13.12.2

Per OSV / GitHub Advisories (GHSA-h754-fxp7-88wx). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.