Skip to main content
EPSS 0.2%top 84%

CVE-2026-54660: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in acacode swagger-typescript-api

0
High
Published: 07/29/2026 (07/29/2026, 14:21:34 UTC)
Source: CVE Database V5
Vendor/Project: acacode
Product: swagger-typescript-api

Description

A vulnerability in swagger-typescript-api prior to version 13.12.2 allows exposure of sensitive bearer tokens. The issue occurs because the authorization token is forwarded to every URL fetched when resolving external references in OpenAPI specifications. This can lead to an attacker-controlled OpenAPI spec exfiltrating the developer or CI bearer token to a cross-origin endpoint. The vulnerability is fixed in version 13.12.2.

CVSS v3.1

Score 7.4high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Affected software

acacode

swagger-typescript-api

Affected versions
<13.12.2
swagger-typescript-api
pkg:npm/swagger-typescript-api
Affected versions
<13.12.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 17:57:32 UTC

Technical Analysis

swagger-typescript-api versions before 13.12.2 contain a sensitive information exposure vulnerability (CWE-200) due to the forwarding of the --authorizationToken header to all URLs fetched during the resolution of external $ref URLs in OpenAPI specs. Specifically, the function getRemoteRequestHeaders forwards the authorization token to every URL fetched by fetchRemoteSchemaDocument during warmUpRemoteSchemasCache. This behavior allows an attacker who controls an OpenAPI specification to cause the bearer token to be sent to a cross-origin endpoint, potentially leaking sensitive credentials. The issue is resolved in version 13.12.2.

Potential Impact

An attacker controlling an OpenAPI specification can exfiltrate sensitive bearer tokens used by developers or CI systems by causing the vulnerable client to send these tokens to attacker-controlled cross-origin endpoints. This results in a confidentiality breach of sensitive authentication tokens. There is no indication of impact on integrity or availability. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade swagger-typescript-api to version 13.12.2 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T20:16:46.199Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6a13c09c2644c7f8a6d7f6

Added to database: 07/29/2026, 14:52:48 UTC

Last enriched: 08/06/2026, 17:57:32 UTC

Last updated: 09/12/2026, 10:01:31 UTC

Views: 59

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses