Unrated severityNVD Advisory· Published Dec 2, 2026
llama-index-tools-requests through 0.8.0 Credential Leak via Backslash URL Parser Differential
CVE-2026-142197
Description
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.
Patches
Vulnerability mechanics
References
3- www.vulncheck.com/advisories/llama-index-tools-requests-through-0.8.0-credential-leak-via-backslash-url-parser-differentialmitrethird-party-advisory
- github.com/run-llama/llama_index/blob/890d87d30b0498687a3005b3307e3398d83fbca9/llama-index-integrations/tools/llama-index-tools-requests/llama_index/tools/requests/base.pymitretechnical-description
- github.com/run-llama/llama_index/blob/890d87d30b0498687a3005b3307e3398d83fbca9/llama-index-integrations/tools/llama-index-tools-requests/llama_index/tools/requests/base.pymitretechnical-description
News mentions
0No linked articles in our index yet.