Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-23642

84
FAUCET Score

CVE-2022-23642 is a remote code execution vulnerability affecting Sourcegraph versions prior to 3.37, stemming from improper restriction of git config commands in the gitserver service. This allows an authenticated attacker to manipulate the git core.sshCommand option, leading to arbitrary command execution. With a CVSS score of 8.8 (HIGH), the vulnerability has a low attack complexity and can result in complete compromise of confidentiality, integrity, and availability. Exploit code is publicly available, including a Metasploit module and an ExploitDB entry, although there is currently no evidence of active exploitation or significant community discussion.

Impacted Technologies

VendorProductVersion(s)CPE
< 3.37CPE matchmatch criteria
cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
74.31%
Probability of exploitation in next 30 days
EPSS Percentile
99.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-26
Model: v2026.06.15
Metasploit: Sourcegraph gitserver sshCommand RCE · Feb 18, 2022
ExploitDB: EDB-50964 · Jun 14, 2022
This CVE's current EPSS score of 0.7431 is in the 99th percentile among its peer group of 17,823 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

github_advisorypatch availablevia nvd_reference
View patch

References

packetstormsecurity.com / files/167506/Sourcegraph-Gitserver-3.36.3-Remote-Code-Execution.html
ExploitThird Party AdvisoryVDB Entry
packetstormsecurity.com / files/167741/Sourcegraph-gitserver-sshCommand-Remote-Command-Execution.html
ExploitThird Party AdvisoryVDB Entry
github.com / sourcegraph/sourcegraph/pull/30833
PatchThird Party Advisory
github.com / sourcegraph/sourcegraph/security/advisories/GHSA-qcmp-fx72-q8q9
PatchThird Party Advisory