Skip to content
MediumVulnerability

CVE-2026-142197: llama-index-tools-requests URL parser differential leaks secret headers

Identifier
CVE-2026-142197
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

llama-index-tools-requests through 0.8.0 contains a URL parser differential flaw in RequestsToolSpec. Embedding a backslash in a URL makes urlparse() match a trusted hostname while requests connects to an attacker host, so per-domain secret headers such as Authorization or API keys can be leaked. The URLs can be supplied through prompt injection or by the user.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.