Security readout for executives and security teams
Plain-English summary
Sourcegraph before 3.41.0 let an authenticated attacker overwrite saved searches belonging to other users. The sources say this did not allow reading other users’ saved searches, but it could corrupt saved search workflows or alerts. Sourcegraph patched the issue in version 3.41.0 and documented no workaround.
Executive priority
Treat this as a moderate-priority integrity issue. It is not described as data theft or active exploitation, but teams using Sourcegraph saved searches for monitoring or workflow automation should patch promptly because no workaround is documented.
Technical view
CVE-2022-31155 is a CWE-863 authorization-check flaw in Sourcegraph saved searches. Network-accessible authenticated users could overwrite or effectively delete other users’ saved searches with attacker-controlled searches. CVSS 3.1 is 4.3: low complexity, low privileges required, no user interaction, integrity impact only.
Likely exposure
Exposure is likely limited to Sourcegraph deployments running versions before 3.41.0, especially environments with multiple or less-trusted authenticated users. The documented impact is saved-search integrity, not source-code disclosure or service availability.
Exploitation context
The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation requires authenticated access to the affected Sourcegraph instance. The reported result is overwriting other users’ saved searches, not reading them.
Researcher notes
The evidence supports an authenticated authorization bypass affecting saved-search overwrite/delete behavior only. Do not expand impact beyond integrity of saved searches without additional vendor evidence. The provided fix reference is Sourcegraph 3.41.0 and commit 2832d7882396a6295ba5803b5ef48dc7d5a24c59.
Mitigation direction
- Upgrade Sourcegraph to version 3.41.0 or later.
- Confirm every Sourcegraph node runs the patched version.
- Use vendor guidance; no workaround is documented in the sources.
- Until upgraded, reduce unnecessary authenticated access where feasible.
Validation and detection
- Inventory all Sourcegraph deployments and record their versions.
- Verify production and staging instances are at 3.41.0 or later.
- Review saved-search integrity if untrusted users had access before patching.
- Check vendor advisory and commit details for remediation scope.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-863: Authorization and privilege behavior lookup
Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31155 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 4.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N2.81.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
4.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-37qp-9jq6-f6mxCVE reference · x_refsource_CONFIRM
- https://github.com/sourcegraph/sourcegraph/commit/2832d7882396a6295ba5803b5ef48dc7d5a24c59CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Incorrect Authorization
Incorrect Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
