CVE-2026-11481

yoanbernabeu grepai Postgres Embedding Cache chunker.go PostgresStore.LookupByContentHash weak hash

Published Jun 8, 2026 CVSS 4.0 · 2 Low EPSS < 1% KEV · Not listed
Description
A vulnerability was determined in yoanbernabeu grepai up to 0.35.0. The affected element is the function PostgresStore.LookupByContentHash of the file indexer/chunker.go of the component Postgres Embedding Cache. Executing a manipulation of the argument content_hash can lead to use of weak hash. The attack needs to be launched locally. The attack requires a high level of complexity. The exploitability is described as difficult. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.

Analysis

AI-generated

Technical impact

The vulnerability is located in the PostgresStore.LookupByContentHash function within the Postgres Embedding Cache module. An attacker with local access can manipulate the content_hash argument, causing the application to use a weak hash algorithm. This weak hash creates a risk of collisions or other integrity weaknesses, but does not provide remote code execution or direct disclosure of secrets.

Affected Systems

The flaw affects the grepai project by yoanbernabeu, up to and including version 0.35.0. Users running this version in any environment that allows local modification of the content_hash parameter are vulnerable.

Risk and Exploitability

The CVSS score of 2 indicates low severity. The exploit is local, requiring the attacker to run code on the same host with sufficient privileges, and is described as difficult. EPSS is not available and the vulnerability is not listed in the CISA KEV catalog. The limited scope and privacy of the local attack surface make this a low‑risk vulnerability, yet it is publicly disclosed and could be employed by a local attacker to influence the hash algorithm used.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update grepai to the latest released version where the weak hash algorithm has been replaced in accordance with CWE‑327 recommendations.
  • Add input validation to the content_hash parameter, ensuring only properly formatted hash values are accepted, to mitigate CWE‑328 issues and prevent manipulation of the lookup function.
  • Run the grepai service under the least privileged account and, if possible, disable the embedding cache lookup feature when it is not required, limiting the potential impact of a local attacker.

Generated by OpenCVE AI on June 8, 2026 at 06:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q76h-p6jh-9rw3 grepai Uses a Broken or Risky Cryptographic Algorithm
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was determined in yoanbernabeu grepai up to 0.35.0. The affected element is the function PostgresStore.LookupByContentHash of the file indexer/chunker.go of the component Postgres Embedding Cache. Executing a manipulation of the argument content_hash can lead to use of weak hash. The attack needs to be launched locally. The attack requires a high level of complexity. The exploitability is described as difficult. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.
Title yoanbernabeu grepai Postgres Embedding Cache chunker.go PostgresStore.LookupByContentHash weak hash
First Time appeared Yoanbernabeu
Yoanbernabeu grepai
Weaknesses CWE-327
CWE-328
CPEs cpe:2.3:a:yoanbernabeu:grepai:*:*:*:*:*:*:*:*
Vendors & Products Yoanbernabeu
Yoanbernabeu grepai
References
Metrics cvssV2_0

{'score': 1, 'vector': 'AV:L/AC:H/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 2.5, 'vector': 'CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 2, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm

  • CWE-328

    Use of Weak Hash

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jun 8, 2026, 1:01 PM
Reserved
Jun 7, 2026, 9:57 AM
Status
Deferred
Published
Jun 8, 2026, 3:16 AM
Modified
Jul 23, 2026, 7:10 AM