---
id: CVE-2026-10812
aliases:
  - GHSA-xfqj-4cr9-9gr5
title: >-
  GPTCache: File and image cache keys collide because BufferedReader.peek() only
  reads the buffered prefix
summary: >-
  GPTCache: File and image cache keys collide because BufferedReader.peek() only
  reads the buffered prefix
severity: low
cvss: 3.6
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L'
vendor: gptcache
product: gptcache
ecosystem: pip
affected:
  - gptcache <= 0.1.44
published: '2026-06-04'
updated: '2026-07-15'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-xfqj-4cr9-9gr5'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10812'
  - url: 'https://github.com/zilliztech/GPTCache/issues/684'
  - url: 'https://github.com/zilliztech/GPTCache/pull/678'
  - url: 'https://github.com/zilliztech/GPTCache'
  - url: 'https://vuldb.com/cve/CVE-2026-10812'
  - url: 'https://vuldb.com/submit/831636'
  - url: 'https://vuldb.com/vuln/368260'
  - url: 'https://vuldb.com/vuln/368260/cti'
tags:
  - osv
  - pip
epss: 0.00075
epssPercentile: 0.00078
ingestedAt: '2026-07-16T18:59:41.747Z'
---

## Overview

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.

## Affected packages

- `gptcache <= 0.1.44`

## Remediation

Refer to the advisory for the patched release.
