Intel

AIKIDO-2026-803896

got is vulnerable to Exposure of Sensitive Information

Exposure of Sensitive Information Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 3 days ago

39

Low Risk

This Affects:

JSgot
14.6.0 - 15.1.0
Fixed in 16.0.0
Are you affected? Scan for Free

TL;DR

Got can copy request headers from a piped source stream onto the outgoing request when the copyPipedHeaders option is enabled for proxy-style forwarding. Before the fix, the set of omitted piped headers did not include credential headers, so authorization, cookie, and related headers from an incoming request were forwarded to the target upstream, including across origins. This can disclose a caller's credentials to an unintended or cross-origin server acting as a confused deputy. The fix adds authorization, cookie, cookie2, set-cookie, and set-cookie2 to the omitted piped headers so they are no longer copied automatically.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable copyPipedHeaders to forward headers from an incoming piped request, allowing credential headers such as authorization and cookie to be copied to a different upstream.

Background info

got is vulnerable to Exposure of Sensitive Information in versions 14.6.0 - 15.1.0.

How to fix this

Upgrade the got library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform