CVE-2022-41943
published critical CVSS 3.1 · 9.0Incorrect default permissions found in Sourcegraph
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sourcegraph | — | sourcegraph< 4.1.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sourcegraph | sourcegraph | < 4.1.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-276 CWE-276: Incorrect Default Permissions
References
2Provider assertions
3GitHub_M · cna
Incorrect default permissions found in Sourcegraph
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cc0f517f0e8b6ad1df9246d6d647d801a117ebca9ab11e67589aacf6ff822e4e
- Ingested
- 23 Sep 2026, 08:02:45 UTC
- Source record
- Official CVE record