CVE-2026-54663
published medium CVSS 3.1 · 6.1swagger-typescript-api vulnerable to Server-Side Request Forgery via spec `$ref`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| acacode | — | swagger-typescript-api< 13.12.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| acacode | swagger-typescript-api | < 13.12.2 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-20 CWE-20: Improper Input Validation
- CWE-441 CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4- https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9de
- https://github.com/acacode/swagger-typescript-api/pull/1779
- https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2
- https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-x36r-4347-pm5x
Provider assertions
2GitHub_M · cna
swagger-typescript-api vulnerable to Server-Side Request Forgery via spec `$ref`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7c64fabd6569974e4d2857267ec11657d0fcce905091503cc8b2b02d78e69be3
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record