CVE-2023-49569: Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients
Noroxi assessment
Priority: Monitor (action score 39/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.5% (FIRST EPSS); higher than 74.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: golang-github-go-git-go-git (Debian:13) 5.11.0-1; github.com/go-git/go-git/v5 (Go) 5.11.0; ceph (Red Hat:ceph_storage:5.3::el8) 2:16.2.10-266.el8cp.
Low priority for now. Upgrade to golang-github-go-git-go-git (Debian:13) 5.11.0-1; github.com/go-git/go-git/v5 (Go) 5.11.0; ceph (Red Hat:ceph_storage:5.3::el8) 2:16.2.10-266.el8cp or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A path traversal vulnerability was discovered in go-git versions prior to v5.11. This vulnerability allows an attacker to create and amend files across the filesystem. In the worse case scenario, remote code execution could be achieved. Applications are only affected if they are using the ChrootOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#ChrootOS , which is the default when using "Plain" versions of Open and Clone funcs (e.g. PlainClone). Applications using BoundOS https://pkg.go.dev/github.com/go-git/go-billy/v5/osfs#BoundOS or in-memory filesystems are not affected by this issue. This is a go-git implementation issue and does not affect the upstream git cli.
- Published
- Jan 12, 2024
- Updated
- Jun 17, 2026
- EPSS
- 1.5% · 74th percentile
- CWE
- CWE-22
Report tools
Action score
39
Monitor
Low priority for now.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.8
- CNA · Bitdefender
- 9.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| go-git project | go-git | cpe:2.3:a:go-git_project:go-git |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- go-git project go-git4.0.0 and later · before 5.11.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Bitdefender). Independent of NVD's CPE analysis and usually ahead of it.
go-git go-git
- 5.11.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | golang-github-go-git-go-git | from 0 | — |
| Debian:13 | golang-github-go-git-go-git | before 5.11.0-1 | 5.11.0-1 |
| Go | github.com/go-git/go-git/v5 | from 5.0.0 · before 5.11.0 | 5.11.0 |
| Go | gopkg.in/src-d/go-git.v4 | from 4.0.0 · up to and including 4.13.1 | — |
| Go | gopkg.in/src-d/go-git.v4 | from 4.7.1 | — |
| Red Hat:ceph_storage:5.3::el8 | ceph | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-ansible | before 0:6.0.28.8-1.el8cp | 0:6.0.28.8-1.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-base | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-base-debuginfo | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-common | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-common-debuginfo | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-debugsource | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-fuse | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-fuse-debuginfo | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-grafana-dashboards | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-immutable-object-cache | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-immutable-object-cache-debuginfo | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mds | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mds-debuginfo | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mgr | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mgr-cephadm | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mgr-dashboard | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mgr-debuginfo | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
| Red Hat:ceph_storage:5.3::el8 | ceph-mgr-diskprediction-local | before 2:16.2.10-266.el8cp | 2:16.2.10-266.el8cp |
+96
Same product
go-git project: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-21613go-git has an Argument Injection via the URL field36Monitor
- CVE-2025-21614go-git clients vulnerable to DoS via maliciously crafted Git server replies30Monitor
- CVE-2023-49568Maliciously crafted Git server replies can cause DoS on go-git clients30Monitor
Published before and after this one in the same product
- Later →CVE-2026-25934Feb 9, 2026 · go-git improperly verifies data integrity values for .idx and .pack files17Monitor
- Later →CVE-2026-34165Mar 31, 2026 · go-git: Maliciously crafted idx file can cause asymmetric memory consumption20Monitor
- Later →CVE-2026-33762Mar 31, 2026 · go-git: Missing validation decoding Index v4 files leads to panic11Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:golang-github-go-git-go-git | 5.11.0-1 · Debian:13 | Package registry (OSV) |
| Go:github.com/go-git/go-git/v5 | 5.11.0 | Package registry (OSV) |
| red hat:ceph | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-base | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-base-debuginfo | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-common | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-common-debuginfo | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-debuginfo | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-debugsource | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-exporter-debuginfo | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-fuse | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-fuse-debuginfo | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:ceph-immutable-object-cache | 2:17.2.6-216.el8cp · Red Hat:ceph_storage:6.1::el8 | Package registry (OSV) |
| red hat:openshift-serverless-clients | 0:1.10.0-6.el8 · Red Hat:serverless:1.0::el8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Ionuț Lalufinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.