Read the docs
TI-2023-14625 Aliases CVE-2023-30846GHSA-558p-m34m-vpmq

typed-rest-client vulnerable to potential leak of authentication data to 3rd parties

Priority MEDIUM 52CWE-522Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-522.

Summary

typed-rest-client is a library for Node Rest and Http Clients with typings for use with TypeScript. Users of the typed-rest-client library version 1.7.3 or lower are vulnerable to leak authentication data to 3rd parties. The flow of the vulnerability is as follows: First, send any request with `BasicCredentialHandler`, `BearerCredentialHandler` or `PersonalAccessTokenCredentialHandler`. Second, the target host may return a redirection (3xx), with a link to a second host. Third, the next request will use the credentials to authenticate with the second host, by setting the `Authorization` header. The expected behavior is that the next request will *NOT* set the `Authorization` header. The problem was fixed in version 1.8.0. There are no known workarounds.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02224 82nd percentileScored 2026-11-07
Fix Fixed typed-rest-client (microsoft): 1.8.0typed-rest-client (npm): 1.8.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Microsofttyped-rest-clientbefore 1.8.01.8.0Patch availableCNA
—typed-rest-client (npm)before 1.8.01.8.0Patch availableGHSA-558p-m34m-vpmq
  • typed-rest-client VendorMicrosoft Affected before 1.8.0 Fixed in 1.8.0 Patch available CNA
  • typed-rest-client (npm) Vendor— Affected before 1.8.0 Fixed in 1.8.0 Patch available GHSA-558p-m34m-vpmq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:microsoft:typed-rest-client:*:*:*:*:*:node.js:*:*before 1.8.0VulnerableMicrosoft
  • cpe:2.3:a:microsoft:typed-rest-client:*:*:*:*:*:node.js:*:* Versions before 1.8.0 Vulnerable ·Microsoft

Remediation

  • Fix · CNA typed-rest-client (microsoft) Fixed in 1.8.0
  • Fix · GHSA-558p-m34m-vpmq typed-rest-client (npm) Fixed in 1.8.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-30846
  2. 2026-10-03 Alias added: GHSA-558p-m34m-vpmq

References

Sources