Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gptcache
  4. ›
  5. CVE-2026-10812

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

June 4, 2026 (updated July 15, 2026)

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

  • github.com/advisories/GHSA-xfqj-4cr9-9gr5
  • github.com/zilliztech/GPTCache
  • github.com/zilliztech/GPTCache/issues/684
  • github.com/zilliztech/GPTCache/pull/678
  • nvd.nist.gov/vuln/detail/CVE-2026-10812
  • vuldb.com/cve/CVE-2026-10812
  • vuldb.com/submit/831636
  • vuldb.com/vuln/368260
  • vuldb.com/vuln/368260/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-10812 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1.44

Solution

Unfortunately, there is no solution available yet.

Impact 3.6 LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

pypi/gptcache/CVE-2026-10812.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:26 +0000.