Live threats

All CVEs / Sourcegraph

CVE-2022-31154Sourcegraph

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.5%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Aug 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sourcegraph.

Affected products (CPE)

VendorProductVersions
sourcegraphsourcegraph< 3.42.0

Official sources

References

Links published by the sources. Open them with care.