What happened
Published 2026-12-02, CVSS 5.3 (CWE-436 interpretation conflict). RequestsToolSpec parses the URL with one function but sends the request with a different one, so backslash tricks can redirect credential-bearing per-domain headers to an attacker-controlled host.
Why it matters
RAG/tool-calling agents commonly fetch URLs and attach scoped API keys. A prompt-injected URL can redirect those headers to the attacker, exfiltrating the API keys used to call upstream tools or services.
Attack vector
A backslash embedded in a URL makes urlparse() match a trusted hostname while the actual HTTP request connects to an attacker host, causing the tool to forward the per-domain Authorization or API key headers (CWE-436 parser differential).
Affected systems
run-llama llama-index-tools-requests ≤ 0.8.0
Mitigation
Upgrade llama-index-tools-requests past 0.8.0 / validate URLs with a single parser and an explicit host allowlist before attaching secret headers.