CVE-2022-29171
Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote Code Execution in the gitserver service. The Gitolite code host integration w...
Affects 1 product across 1 vendor.
Parent class for all injection vulnerabilities where attacker-supplied data is interpreted as code or commands.
Attacker injects arbitrary code that is executed by the application process.
Show all 40
Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.
Sourcegraph versions before 3.38.0 are vulnerable to Remote Code Execution (RCE) in the gitserver service due to improper handling of the `callsignCommand` parameter in Gitolite code host integration with Phabricator.
BSID: BS-2022-GLOBAL-068783-H • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2022-29171?
What is the CVSS score for CVE-2022-29171?
Is CVE-2022-29171 actively exploited?
How do I remediate CVE-2022-29171?
What systems are affected by CVE-2022-29171?
| CVE ID | CVE-2022-29171 |
|---|---|
| BSID | BS-2022-GLOBAL-068783-H BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-05-06 |
| Last Modified | 2026-06-17 |
| ICS Relevance | 15% |
| Weakness (CWE) | |
| Source | NVD |
Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote Code Execution in the gitserver service. The Gitolite code host integration with Phabricator allows Sourcegraph site admins to specify a `callsignCommand`, which is used to obtain the Phabricator metadata for a Gitolite repository. An administrator who is able to edit or add a Gitolite code host and has administrative access to Sourcegraph’s bundled Grafana instance can change this command arbitrarily and run it remotely. This grants direct access to the infrastructure underlying the Sourcegraph installation. The attack requires: site-admin privileges on the instance of Sourcegraph, Administrative privileges on the bundled Grafana monitoring instance, Knowledge of the gitserver IP address or DNS name (if running in Kubernetes). This can be found through Grafana. The issue is patched in version 3.38.0. You may disable Gitolite code hosts. We still highly encourage upgrading regardless of workarounds.
Source: NIST NVD / MITRE CVE Database
An attacker with administrative privileges can specify a malicious `callsignCommand` to execute arbitrary code on the server hosting Sourcegraph.
Exploitation Likelihood: MEDIUM
| Vendor | Product | Affected Versions |
|---|---|---|
| Sourcegraph | Sourcegraph | < 3.38.0 |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | HIGH |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | 429efb1ef8f00a278a6f858a8041d8ca28a885ddb12f29711d5de296a2bd83dcd3d945a7a2e961b5f1c3e74156d26c0de34c5c7b2d7615266324a284c2eebc69 |
ICS/OT Vulnerability Intelligence for Your Environment
BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.
Create a free account →