CVE-2026-142197

MEDIUMCVSS 5.3/10EPSS 0.65%

Last modified

CVE-2026-142197 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.65% chance of exploitation in the next 30 days.

Description

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.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
run-llamallama-index-tools-requests<= 0.8.0

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2026-142197?
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.
How severe is CVE-2026-142197?
CVE-2026-142197 has a CVSS score of 5.3/10 (MEDIUM severity). The EPSS model estimates a 0.65% probability of exploitation in the next 30 days.
How do I fix CVE-2026-142197?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-142197?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST