INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2026-10812

GPTCache: File and image cache keys collide because BufferedReader.peek() only reads the buffered prefix

CVE-2026-10812 ยท 2026-06-04 low

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Other weaknesses
Affected
gptcache (PyPI)
CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS
0.1% chance of exploitation in 30 days

How it works, in short

Cache keys for file and image inputs use a weak hash over only the buffered prefix, so different files can collide and return each other's cached results. (Our summary, written by a model. The source text is below.)

Details

A vulnerability was detected in zilliztech GPTCache up to 0.1.44. Affected by this issue is the function BufferedReader.peek of the file gptcache/processor/pre.py of the component Cache Key Handler. Performing a manipulation of the argument input_data["image"] results in use of weak hash. The attack must be initiated from a local position. The attack is considered to have high complexity. The exploitation is known to be difficult. The exploit is now public and may be used. The pull request to fix this issue awaits acceptance.

References

Source: GitHub Advisory Database, used under CC BY 4.0.