CVE-2026-54663acacode swagger-typescript-api
Medium 6.1 No auth needed
Follow: this CVE · acacode · acacode swagger-typescript-api We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 29, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- 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:L/I:L/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 warmUpRemoteSchemasCache resolves external $ref URLs and fetchRemoteSchemaDocument uses isHttpUrl to fetch any http or https target without private IP, redirect, DNS rebinding, or same-origin validation, allowing an attacker-controlled OpenAPI spec to make the generator issue requests to internal or link-local services. This issue is fixed in version 13.12.2.
What to do
- Apply the vendor's security update for swagger-typescript-api.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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-x36r-4347-pm5x). Check the version in your lockfile before upgrading.
Affected products
- acacode · swagger-typescript-api
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.