GitHub Advisoryadvisory · PyPI

GHSA-xfqj-4cr9-9gr5 GPTCache: File and image cache keys collide because BufferedReader.peek() only reads the buffered prefix

LOW Published 2026-06-04 Modified 2026-07-15 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