llama-index-tools-requests through 0.8.0 contains a URL parser differential vulnerability in RequestsToolSpec that allows attackers to redirect per-domain secret headers by embedding a backslash in URLs. Attackers can use prompt injection or user-supplied URLs so urlparse() matches a trusted hostname while requests connects to an attacker host, leaking Authorization or API key headers.
CVE-2026-142197
CVSS base score
5.3 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-436
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N