CVE-2026-54663
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
6.1
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-29 15:16:25.713000
Last modified
2026-10-23 23:10:00.157000
View original CVE JSON
{
"id": "CVE-2026-54663",
"sourceIdentifier": "[email protected]",
"published": "2026-07-29T15:16:25.713",
"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 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."
},
{
"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 warmUpRemoteSchemasCache resuelve URLs $ref externas y fetchRemoteSchemaDocument usa isHttpUrl para obtener cualquier objetivo HTTP o HTTPS sin IP privada, redirección, reencadenamiento de DNS, o validación de mismo origen, permitiendo que una especificación OpenAPI controlada por un atacante haga que el generador emita solicitudes a servicios internos o de enlace local. Este problema está solucionado en la versión 13.12.2."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "acacode",
"product": "swagger-typescript-api",
"versions": [
{
"version": "< 13.12.2",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-29T14:58:23.239526Z",
"id": "CVE-2026-54663",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-20"
},
{
"lang": "en",
"value": "CWE-441"
},
{
"lang": "en",
"value": "CWE-918"
}
]
}
],
"references": [
{
"url": "https://github.com/acacode/swagger-typescript-api/commit/306d59acb8ffbb00f953f807b97234b21f51d9de",
"source": "[email protected]"
},
{
"url": "https://github.com/acacode/swagger-typescript-api/pull/1779",
"source": "[email protected]"
},
{
"url": "https://github.com/acacode/swagger-typescript-api/releases/tag/v13.12.2",
"source": "[email protected]"
},
{
"url": "https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-x36r-4347-pm5x",
"source": "[email protected]"
},
{
"url": "https://github.com/acacode/swagger-typescript-api/security/advisories/GHSA-x36r-4347-pm5x",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}