GHSA-xfqj-4cr9-9gr5

Suggest an improvement
Source
https://github.com/advisories/GHSA-xfqj-4cr9-9gr5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xfqj-4cr9-9gr5/GHSA-xfqj-4cr9-9gr5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xfqj-4cr9-9gr5
Aliases
Published
2026-06-04T15:30:40Z
Modified
2026-07-23T15:11:18Z
Severity
  • 3.6 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
  • 1.1 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
GPTCache: File and image cache keys collide because BufferedReader.peek() only reads the buffered prefix
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-327"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-15T18:55:26Z",
    "nvd_published_at":  "2026-06-04T15:16:48Z",
    "severity":  "LOW"
}
References

Affected packages

PyPI / gptcache

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.1.44

Affected versions

0.*
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.1.10
0.1.11
0.1.12
0.1.13
0.1.14
0.1.15
0.1.16
0.1.17
0.1.18
0.1.19
0.1.20
0.1.21
0.1.22
0.1.23
0.1.24
0.1.25
0.1.26
0.1.27
0.1.28
0.1.29
0.1.29.1
0.1.30
0.1.31
0.1.32
0.1.33
0.1.34
0.1.35
0.1.36
0.1.37
0.1.38
0.1.39
0.1.39.1
0.1.40
0.1.41
0.1.42
0.1.43
0.1.44

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xfqj-4cr9-9gr5/GHSA-xfqj-4cr9-9gr5.json"