MediumVulnerability
CVE-2026-142197: llama-index-tools-requests URL parser differential leaks secret headers
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-142197
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-142233: @browserbasehq/eve arbitrary file write through run tool artifacts listSimilar attack, NVD/CVE Database
- HighCVE-2026-142216: gemini-mcp-tool argument injection via the model parameter in executeGeminiCLI()Similar attack, NVD/CVE Database
- MediumTop agent skill security resources — December 2026Similar attack, Adversa AI Blog
- HighCVE-2026-85259: Google Gemini CLI code injection via crafted GitHub issuesSimilar attack, NVD/CVE Database
- InfoOpenAI and Anthropic AI agents cheat far less than rivals, new tests findSimilar attack, TechCrunch (Security)