CVE-2026-142197: llama-index-tools-requests through 0.8.0 Credential Leak via Backslash URL Parser Differential

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/llama-index-tools-requests<=0.8.0

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments using llama-index-tools-requests through 0.8.0 are exposed when RequestsToolSpec sends per-domain Authorization or API key headers and an attacker can influence a requested URL, including through prompt injection or user-supplied URL input.

2

What does an attacker need to exploit it?

The attacker needs to cause the tool to process a crafted URL containing a backslash. The URL must be parsed as matching a trusted hostname by urlparse() while the requests client connects to an attacker-controlled host.

3

What information can be leaked?

Authorization headers or API key headers configured to be sent for a trusted domain can be redirected to the attacker-controlled host. The reported impact is confidentiality only; integrity and availability impacts are not indicated.

4

How can I determine whether my deployment may be affected?

Check whether llama-index-tools-requests is installed at version 0.8.0 or earlier and whether RequestsToolSpec is configured with secret headers scoped to domains. Also determine whether untrusted users or model prompts can influence URLs passed to the tool.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203