CVE-2022-41943
CVE-2022-41943 is a critical-severity vulnerability in Sourcegraph with a CVSS 3.x base score of 9.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-276.
Key facts
- Severity: Critical (CVSS 3.x base score 9.0)
- EPSS exploit prediction: 1% (55th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-276
- Affected product: Sourcegraph
- Published:
- Last modified:
Description
sourcegraph is a code intelligence platform. As a site admin it was possible to execute arbitrary commands on Gitserver when the experimental `customGitFetch` feature was enabled. This experimental feature has now been disabled by default. This issue has been patched in version 4.1.0.
Frequently asked questions
- What is CVE-2022-41943?
- sourcegraph is a code intelligence platform. As a site admin it was possible to execute arbitrary commands on Gitserver when the experimental `customGitFetch` feature was enabled. This experimental feature has now been disabled by default. This issue has been patched in version 4.1.0.
- How severe is CVE-2022-41943?
- CVE-2022-41943 has a CVSS 3.x base score of 9.0, rated critical severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
- Is CVE-2022-41943 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (55th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-41943?
- CVE-2022-41943 affects Sourcegraph. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2022-41943?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2022-41943 published?
- CVE-2022-41943 was published on 2022-11-22 and last updated on 2026-06-17.
References
- https://github.com/sourcegraph/sourcegraph/pull/42704
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-4qhq-4x4h-fxm8
Affected products (1)
- cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*
More vulnerabilities in Sourcegraph
- CVE-2022-23642 — High (CVSS 8.8): Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.37 is vulnerable to remote code…
- CVE-2022-41942 — High (CVSS 7.9): Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a command Injection vulnerability existed in…
- CVE-2022-29171 — Medium (CVSS 6.6): Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote…
- CVE-2022-23643 — Medium (CVSS 6.5): Sourcegraph is a code search and navigation engine. Sourcegraph versions 3.35 and 3.36 reintroduced a previously fixed…
- CVE-2021-43823 — Medium (CVSS 6.5): Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.33.2 is vulnerable to a side-channel…
- CVE-2022-31154 — Medium (CVSS 6.4): Sourcegraph is an opensource code search and navigation engine. It is possible for an authenticated Sourcegraph user to…
All CVEs affecting Sourcegraph →
Other CWE-276 (Incorrect Default Permissions) vulnerabilities
- CVE-2022-42150 — Critical (CVSS 10.0): TinyLab linux-lab v1.1-rc1 and cloud-labv0.8-rc2, v1.1-rc1 are vulnerable to insecure permissions. The default…
- CVE-2020-29492 — Critical (CVSS 10.0): Dell Wyse ThinOS 8.6 and prior versions contain an insecure default configuration vulnerability. A remote…
- CVE-2020-29491 — Critical (CVSS 10.0): Dell Wyse ThinOS 8.6 and prior versions contain an insecure default configuration vulnerability. A remote…
- CVE-2025-40585 — Critical (CVSS 9.9): A vulnerability has been identified in Energy Services (All versions with G5DFR). Affected solutions using G5DFR…
- CVE-2019-19896 — Critical (CVSS 9.9): In IXP EasyInstall 6.2.13723, there is Remote Code Execution via weak permissions on the Engine Service share. The…
- CVE-2020-37129 — Critical (CVSS 9.8): Memu Play 7.1.3 contains an insecure folder permissions vulnerability that allows low-privileged users to modify the…
Browse all CWE-276 (Incorrect Default Permissions) vulnerabilities →