AI Stack Alert Medium CVE-2026-142197 For AI Eng, AppSec, CISO AI-assisted
CVE-2026-142197: llama-index-tools-requests through 0.8.0 URL parser differential leaks secret headers
llama-index-tools-requests through version 0.8.0 contains a URL parser differential in RequestsToolSpec. A backslash in a URL can make urlparse() match a trusted hostname while requests connects to an attacker-controlled host. This can leak Authorization or API key headers. The CVSS base score is 6.
Why it matters
Organizations running LlamaIndex agents with per-domain secret headers may have those credentials sent to an attacker host. Prompt injection or user-supplied URLs can trigger the redirect.
Do this
- Identify deployments that use llama-index-tools-requests at version 0.8.0 or earlier.
- Upgrade to a fixed release once the vendor publishes one, and check the advisory for the patched version.
- Until patched, restrict RequestsToolSpec to an allowlist of fully validated hostnames and reject URLs containing backslashes.
- Rotate API keys and Authorization tokens that were available to agents using this tool, if exposure is suspected.
- Review agent logs for outbound requests to unexpected hosts that carried secret headers.
Exploit Clock
No signals yet
- No exploitation signals yet
Signals
- NoCISA KEV
- 6CVSS
- NoPublic PoC
- 26/100Priority
- 70%Confidence
Evidence
“llama-index-tools-requests through 0.8.0 contains a URL parser differential vulnerability in RequestsToolSpec”
“allows attackers to redirect per-domain secret headers by embedding a backslash in URLs”
“leaking Authorization or API key headers”
Sources
Affected / related
llama-index-tools-requests, LlamaIndex
Published 2026-12-02 17:17 UTC · updated 2026-12-02 18:35 UTC · AI-assisted summary, checked against quoted sources · How we score