CVE-2022-31155 - CVE House
Back to Database
Status published Medium CVE-2022-31155

Unauthorized overwriting of saved searches in Sourcegraph

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31155

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

sourcegraph

View all reports →

Affected Software

sourcegraph
Vulnerable Versions:
< 3.41.0

Timeline

Official Publish: August 1st, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Weaknesses (CWE)