{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31155","published":"2022-08-01T19:15:08.270000Z","last_modified":"2026-06-17T04:44:55.210000Z","status":"Modified","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-863"],"cpes":[{"criteria":"cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*","part":"a","vendor":"sourcegraph","product":"sourcegraph","version_end_excluding":"3.41.0"}],"cpes_truncated":false,"vendors":["sourcegraph"],"products":["sourcegraph/sourcegraph"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00568,"percentile":0.40903,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":26,"links":{"html_es":"/es/cve/CVE-2022-31155/","html_en":"/en/cve/CVE-2022-31155/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31155","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31155"},"untrusted":{"vendor_name":"Sourcegraph","product_name":"Sourcegraph","desc_en":"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":[{"untrusted_vendor":"sourcegraph","untrusted_product":"sourcegraph","versions":[]}],"references":[{"url":"https://github.com/sourcegraph/sourcegraph/commit/2832d7882396a6295ba5803b5ef48dc7d5a24c59","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-37qp-9jq6-f6mx","tags":["Third Party Advisory"]}]}}