Cleartext transmission of sensitive information in http-client - #VU171077

 

Cleartext transmission of sensitive information in http-client - #VU171077

Published: November 30, 2026


Vulnerability identifier: #VU171077
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-319
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to obtain sensitive request header values transmitted in cleartext.

The vulnerability exists due to an incomplete same-origin check in the FollowRedirects component, which compares only the host and port when handling redirects. A remote attacker can observe network traffic after a same-host redirect from HTTPS to HTTP to obtain values from request headers such as Authorization and Cookie.

Cookies managed by amphp/http-client-cookies are not affected because the package respects the Secure flag.


Affected software

http-client

Remediation

Install security update from vendor's website.

http-client - addressed in versions 4.6.7, 5.3.7

External References

Related Security Bulletins