CVE-2022-31155: Sourcegraph

Medium severity, CVSS 4.3. EPSS: 0.5% chance of exploitation in the next 30 days.

Sourcegraph is an opensource code search and navigation engine. In Sourcegraph versions before 3.41.0, it is possible for an attacker to delete other users’ saved searches due to a bug in the authorization check. The vulnerability does not allow the reading of other users’ saved searches, only overwriting them with attacker-controlled searches. The issue is patched in Sourcegraph version 3.41.0. There is no workaround for this issue and updating to a secure version is highly recommended.

Affected products

  • Sourcegraph Sourcegraph: before 3.41.0 (fixed in 3.41.0)

Published 2022-08-01. Last modified 2026-06-17.