GitHub Advisoryadvisory · PyPI
GHSA-xfqj-4cr9-9gr5 GPTCache: File and image cache keys collide because BufferedReader.peek() only reads the buffered prefix
LOW
Official page ↗
- Aliases
- CVE-2026-10812
- Ecosystem
- PyPI
- Packages
- gptcache
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
- Weaknesses
- CWE-327
- Reviewed
- 2026-07-15
Affected packages
• PyPI gptcache: <= 0.1.44 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2026-10812 A vulnerability was detected in zilliztech GPTCache up to 0.1.44. vulnerability
Weakness · CWE (1)
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-10812 advisory
- https://github.com/zilliztech/GPTCache/issues/684 web
- https://github.com/zilliztech/GPTCache/pull/678 web
- https://github.com/zilliztech/GPTCache package
- https://vuldb.com/cve/CVE-2026-10812 web
- https://vuldb.com/submit/831636 web
- https://vuldb.com/vuln/368260 web
- https://vuldb.com/vuln/368260/cti web