What’s Vulnerable › Vulnerabilities
CVE-2021-32787: Low risk information disclosure in Sourcegraph
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-08-02 · updated 2026-06-17
- Weakness: CWE-200
Description
Sourcegraph is a code search and navigation engine. Sourcegraph before version 3.30.0 has two potential information leaks. The site-admin area can be accessed by regular users and all information and features are properly protected except for daily usage statistics and code intelligence uploads and indexes. It is not possible to alter the information, nor interact with any other features in the site-admin area. The issue is patched in version 3.30.0, where the information cannot be accessed by unprivileged users. There are no workarounds aside from upgrading.
Affected products
- sourcegraph: before 3.30.0 — fixed in 3.30.0
How to fix
Upgrade to a fixed version: sourcegraph 3.30.0. Check the vendor advisory for mitigations.
References
- https://github.com/sourcegraph/sourcegraph/commit/6e51f4546368d959a1f9f173d16e5f20c55deb56
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-mq5p-477h-xgwv
- https://github.com/sourcegraph/sourcegraph/commit/6e51f4546368d959a1f9f173d16e5f20c55deb56
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-mq5p-477h-xgwv
Get alerted when CVE-2021-32787 or the next vulnerability affects your stack