CVE-2023-4759 in Eclipse Jgit and 2 more products
Arbitrary File Overwrite in Eclipse JGit <= 6.6.0 In Eclipse JGit, all versions <= 6.6.0.202305301015-r, a symbolic link present in a specially crafted git repository can be used to write a file to locations outside the working tree when this repository is cloned with JGit to a case-insensitive filesystem, or when ...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Eclipse | Jgit | < 5.13.3.202401111512-r ≥ 6.6.0, < 6.6.0.202305301015 ≥ 6.7.0, < 6.7.0.202309050840 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Apple Macos, Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Arbitrary File Overwrite in Eclipse JGit <= 6.6.0 In Eclipse JGit, all versions <= 6.6.0.202305301015-r, a symbolic link present in a specially crafted git repository can be used to write a file to locations outside the working tree when this repository is cloned with JGit to a case-insensitive filesystem, or when a checkout from a clone of such a repository is performed on a case-insensitive filesystem. This can happen on checkout (DirCacheCheckout), merge (ResolveMerger via its WorkingTreeUpdater), pull (PullCommand using merge), and when applying a patch (PatchApplier). This can be exploited for remote code execution (RCE), for instance if the file written outside the working tree is a git filter that gets executed on a subsequent git command. The issue occurs only on case-insensitive filesystems, like the default filesystems on Windows and macOS. The user performing the clone or checkout must have the rights to create symbolic links for the problem to occur, and symbolic links must be enabled in the git configuration. Setting git configuration option core.symlinks = false before checking out avoids the problem. The issue was fixed in Eclipse JGit version 6.6.1.202309021850-r and 6.7.0.202309050840-r, available via Maven Central https://repo1.maven.org/maven2/org/eclipse/jgit/ and repo.eclipse.org https://repo.eclipse.org/content/repositories/jgit-releases/ . A backport is available in 5.13.3 starting from 5.13.3.202401111512-r. The JGit maintainers would like to thank RyotaK for finding and reporting this issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-4759 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-055485-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-09-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
CWE-178: CWE-178
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-76 Manipulating Web Input to File System Calls via CWE-59
CAPEC-132 Symlink Attack via CWE-59
CAPEC-17 Using Malicious Files via CWE-59
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Eclipse JGit versions 6.6.0 and earlier allows an attacker to perform an arbitrary file overwrite by exploiting a symbolic link in a specially crafted git repository. This can lead to unauthorized modifications of files outside the intended working directory on case-insensitive file systems.
The attack vector involves an attacker creating a git repository with a symbolic link pointing to a file outside the repository's working directory. When this repository is cloned or checked out using JGit on a case-insensitive file system, the symbolic link can be used to overwrite arbitrary files.
Questions
What is CVE-2023-4759?
A vulnerability in Eclipse JGit versions 6.6.0 and earlier allows an attacker to perform an arbitrary file overwrite by exploiting a symbolic link in a specially crafted git repository. This can lead to unauthorized modifications of files outside the intended working directory on case-insensitive file systems.
What is the CVSS score for CVE-2023-4759?
CVE-2023-4759 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.3%.
Is CVE-2023-4759 actively exploited?
No confirmed active exploitation of CVE-2023-4759 as of 2026-09-25.
How do I remediate CVE-2023-4759?
Priority: HIGH. Advisory: https://git.eclipse.org/c/jgit/jgit.git/commit/?id=9072103f3b3cf64dd12ad2949836ab98f62dabf1 PSIRT: [email protected]
What systems are affected by CVE-2023-4759?
CVE-2023-4759 affects Eclipse Jgit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Eclipse","product":"Jgit","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.