# CVE-2022-41943: Incorrect default permissions found in Sourcegraph

- Severity: Critical 9.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.13%, higher than 82% of CVEs (2026-12-01)
- Published: 2022-11-22T00:00:00.000Z
- Modified: 2026-06-17T05:04:06.543Z
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sourcegraph sourcegraph: < 4.1.0; before 4.1.0

## Every score

- GitHub_M: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-4qhq-4x4h-fxm8> (third-party-advisory)
- <https://github.com/sourcegraph/sourcegraph/pull/42704> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-41943](https://www.cve.org/CVERecord?id=CVE-2022-41943), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-41943](https://nvd.nist.gov/vuln/detail/CVE-2022-41943), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-41943 · Whole record: https://cve.day/CVE-2022-41943.json · Rebuilt by cve.day 2026-11-25T22:58:16.822Z
