Skip to content
Medium 6.0

llama-index-tools-requests through 0.8.0 Credential Leak via Backslash URL Parser Differential

CVE-2026-142197 First seen on SecPulse

Summary

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 hostnam...

Affected packages

PackageAffected → Fixed
run-llamallama-index-tools-requests
≤ 0.8.0→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details