CVE-2026-54660

Source
https://cve.org/CVERecord?id=CVE-2026-54660
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54660.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54660
Aliases
Published
2026-07-29T14:21:34.295Z
Modified
2026-08-01T03:32:43.950751925Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS Calculator
Summary
swagger-typescript-api vulnerable to authorization-token exfiltration via spec `$ref`
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54660.json",
    "cwe_ids": [
        "CWE-200",
        "CWE-201",
        "CWE-522",
        "CWE-918"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/acacode/swagger-typescript-api

Affected ranges

Type
GIT
Repo
https://github.com/acacode/swagger-typescript-api
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "13.12.2"
        }
    ]
}

Affected versions

1.*
1.10.0
1.11.0
1.12.0
1.2.6
1.4.0
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.7.2
1.8.0
1.8.1
1.8.2
1.8.3
1.8.4
10.*
10.0.2
10.0.3
11.*
11.0.0
11.1.0
11.1.1
11.1.2
11.1.3
12.*
12.0.0
12.0.1
12.0.2
12.0.3
12.0.4
13.*
13.0.0
13.0.1
13.0.10
13.0.11
13.0.12
13.0.13
13.0.14
13.0.15
13.0.16
13.0.17
13.0.18
13.0.19
13.0.2
13.0.20
13.0.21
13.0.22
13.0.24
13.0.25
13.0.26
13.0.27
13.0.28
13.0.3
13.0.4
13.0.5
13.0.6
13.0.7
13.0.8
13.0.9
13.1.0
13.1.1
13.1.2
13.1.3
13.2.0
13.2.1
13.2.10
13.2.11
13.2.12
13.2.13
13.2.14
13.2.15
13.2.16
13.2.17
13.2.2
13.2.3
13.2.4
13.2.5
13.2.6
13.2.7
13.2.8
13.2.9
2.*
2.0.0
3.*
3.0.0
3.1.0
3.1.1
3.1.2
4.*
4.0.0
4.0.1
4.0.2
4.0.3
4.0.4
4.0.5
4.1.0
4.2.0
4.3.0
4.4.0
5.*
5.0.0
5.1.0
5.1.1
5.1.2
5.1.3
5.1.4
5.1.5
5.1.6
5.1.7
6.*
6.0.0
6.1.0
6.1.1
6.1.2
6.2.0
6.2.1
6.3.0
6.4.0
6.4.1
6.4.2
7.*
7.0.0
7.0.1
8.*
8.0.0
8.0.1
8.0.2
8.0.3
9.*
9.0.0
9.0.1
9.0.2
9.1.1
9.1.2
9.2.0
v13.*
v13.10.0
v13.11.0
v13.11.1
v13.11.2
v13.12.0
v13.12.1
v13.2.18
v13.3.0
v13.3.1
v13.4.0
v13.5.0
v13.6.0
v13.6.10
v13.6.11
v13.6.2
v13.6.3
v13.6.4
v13.6.5
v13.6.6
v13.6.7
v13.6.8
v13.6.9
v13.7.0
v13.7.1
v13.7.2
v13.8.0
v13.9.0
v13.9.1
v13.9.2
v13.9.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54660.json"