GPTCache: File and image cache keys collide because BufferedReader.peek() only reads the buffered prefix
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | gptcache | <= 0.1.44 | sin corrección |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2026-10812
- https://github.com/zilliztech/GPTCache/issues/684
- https://github.com/zilliztech/GPTCache/pull/678
- https://github.com/zilliztech/GPTCache
- https://vuldb.com/cve/CVE-2026-10812
- https://vuldb.com/submit/831636
- https://vuldb.com/vuln/368260
- https://vuldb.com/vuln/368260/cti
- https://pypi.org/project/gptcache
- https://github.com/advisories/GHSA-xfqj-4cr9-9gr5
- Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L- Debilidad (CWE)
CWE-327- Plataforma
- Python (PyPI)
- Paquete
gptcache- Publicada
- 04.06.2026
- Actualizado
- 11.10.2026 14:18
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-3468 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-xfqj-4cr9-9gr5 - CC BY 4.0
Historial de vulnerabilidades: gptcache
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
Esta es la única vulnerabilidad conocida de este paquete.
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.