CVE-2022-31154

MEDIUM

Sourcegraph <3.42 - Privilege Escalation

Title source: llm
STIX 2.1

Description

Sourcegraph is an opensource code search and navigation engine. It is possible for an authenticated Sourcegraph user to edit the Code Monitors owned by any other Sourcegraph user. This includes being able to edit both the trigger and the action of the monitor in question. An attacker is not able to read contents of existing code monitors, only override the data. The issue is fixed in Sourcegraph 3.42. There are no workaround for the issue and patching is highly recommended.

References (2)

Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/sourcegraph/sourcegraph/pull/37526

Scores

CVSS v3 6.4
EPSS 0.0040
EPSS Percentile 32.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-863
Status published
Products (1)
sourcegraph/sourcegraph < 3.42.0
Published Aug 01, 2022
Tracked Since Feb 18, 2026