Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessWrite traversal key to shared bucket
-
DeliveryOperator runs juicefs sync to file:// destination
-
Exploitpath() resolves key without root containment check
-
ExecutionFile written outside storage root
-
ImpactPayload persists at attacker-chosen sensitive path
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to write object keys containing path traversal sequences (e.g., ../../<target_path>) to a source object storage bucket that an operator syncs FROM using juicefs sync. This access condition is met by: shared buckets where multiple parties hold write permissions, publicly writable buckets, or any bucket the attacker has separately compromised. The operator must then initiate or have scheduled a juicefs sync operation targeting a local file:// path as the destination. The vulnerability is NOT triggered by remote-to-remote sync (e.g., S3-to-S3); the local filestore backend must be the sync destination. The attacker requires no authentication or privileges on the target host - write access to the source bucket is the sole prerequisite. Exploitation is bounded by three factors: (1) the operator must actively run or schedule the sync, limiting attacker timing control; (2) the traversal can only write to filesystem paths accessible under the OS credentials of the juicefs process; (3) the attacker controls the written file content but achieves further impact only if a sensitive writable path such as /etc/cron.d, an SSH authorized_keys file, or a service init script is reachable by the process account. |
| Impact | The CVSS 4.0 base score of 7.1 with VI:H (high integrity) and UI:P (passive user interaction) reflects the realistic threat posture well. The arbitrary file-write primitive is genuinely severe: writes to /etc/cron.d, ~/.ssh/authorized_keys, or service configuration files can pivot to code execution under the juicefs process account. The UI:P metric is the principal limiting factor - an attacker cannot trigger exploitation autonomously; the operator must initiate or schedule the sync. PR:N is accurate from the attacker's perspective because no privileges on the target system are required, only influence over source bucket contents. No EPSS data was present in the provided input and no CISA KEV entry exists, indicating no confirmed broad exploitation at time of analysis. Given the indirect delivery chain (attacker controls bucket, operator initiates sync, process account constrains reach), opportunistic mass exploitation appears unlikely despite the high integrity score. The upstream fix exists as a confirmed commit and PR; v1.4.1 is inferred as the patched release from the advisory reference URL, but no standalone vendor security advisory independently confirms this version boundary. |
| Exploit ScenarioDerived | An attacker with write access to a shared S3-compatible bucket uploads an object whose key is crafted as ../../.ssh/authorized_keys, with the object body containing the attacker's SSH public key. When the operator runs juicefs sync s3://shared-bucket/ file:///srv/data/, JuiceFS iterates bucket contents, passes the traversal key to path(), which resolves it to /srv/.ssh/authorized_keys rather than rejecting it, and writes the attacker's public key there. If the juicefs process runs as the account owning /srv, the attacker subsequently gains SSH access to the host. No public exploit code exists, but the attack is mechanically straightforward for any party with write access to the source bucket. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 21, 2026
Path traversal in JuiceFS filestore backend (pkg/object/file.go) enables arbitrary file writes outside the configured storage root during sync operations. The path() helper joined incoming object keys onto the storage root via filepath.Join or filepath.Clean without verifying the resolved result remained within that root, affecting Put, Get, Head, Delete, Chmod, Chown, Symlink, and Readlink. An attacker who can plant object keys containing traversal sequences such as ../../etc/cron.d/backdoor into a source bucket - a shared, public, or compromised bucket - causes a juicefs sync to write attacker-supplied content to arbitrary filesystem paths on the operator's host. No public exploit identified at time of analysis; an upstream fix is available via commit 0bcd70b3d and pull request #7425.
RemediationAI
Upgrade JuiceFS to v1.4.1 or a build that includes commit 0bcd70b3d13088d38127d6fb5750c91be7c4ec16, which hardens path() with a containment check before any I/O operation. See the upstream fix at https://github.com/juicedata/juicefs/pull/7425 and the issue report at https://github.com/juicedata/juicefs/issues/7401. If upgrading immediately is not possible, restrict juicefs sync source buckets strictly to buckets under the operator's exclusive write control, eliminating the untrusted-key injection vector entirely. As a compensating OS-level control, run the juicefs process under a dedicated low-privilege account lacking write access to sensitive paths such as /etc, user home directories, or service configuration directories; this limits the blast radius of a successful traversal but does not prevent the path escape itself. Filesystem mandatory access control (AppArmor or SELinux profiles) that confine juicefs writes to the intended destination directory provides additional depth without blocking legitimate sync operations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JuiceFS is an open-source POSIX-compatible distributed file system that layers over object storage backends (S3, GCS, Azure Blob, and others) and is widely used in data-pipeline and MLOps workloads. Its filestore backend (file://) maps a local directory as an object store and is a common destination for juicefs sync operations. The root cause (CWE-22: Path Traversal) resides in the path() function in pkg/object/file.go, which constructed target filesystem paths using either filepath.Join(d.root, key) or filepath.Clean(d.root + key). Neither form prevents a key such as ../../etc/passwd from resolving outside d.root: filepath.Join and filepath.Clean both collapse double-dot segments relative to the absolute path rather than rejecting them. Object storage key namespaces impose no filesystem-like constraints on names, so a source bucket may legally enumerate keys containing traversal components. All eight I/O operations consumed the unsafe path directly. The fix introduces a filepath.Rel call that compares every resolved path against the storage root boundary and returns an error for any key whose result begins with '..'.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Attacker must have write access to a source bucket the operator syncs from (AC:H, UI:R); impact escapes the storage root to the broader filesystem (S:C); no confidentiality or availability impact applies.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
The filestore backend in pkg/object/file.go, used for file:// stores and as a common juicefs sync destination, derived every operation's target from path(key), which returned either filepath.Join(d.root, key) or filepath.Clean(d.root + key) with no check that the result stayed beneath the root. Put, Get, Head, Delete, Chmod, Chown, Symlink and Readlink all consumed that value directly. Object keys enumerated from a source object store during a sync are not constrained the way local filesystem names are, so a key containing traversal segments causes juicefs to write attacker-supplied content to a path outside the intended local destination, and no error is returned. An operator syncing from a bucket whose contents they do not fully control, such as a shared or public bucket or one an attacker can write to, is therefore exposed to a file write at an attacker-influenced location. The fix changes path() to return an error and rejects any key whose resolved path escapes the root.
Executive ViewAI
JuiceFS sync operations contain a path traversal vulnerability that allows attackers to write arbitrary files to the host operating system by injecting malicious object keys into shared source buckets, enabling system compromise and persistent backdoor installation. Although no public exploit code has been identified at the time of analysis, the vulnerability poses significant risk to organizations relying on JuiceFS, particularly those with shared or public source bucket configurations.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict source bucket access to authorized identities only; run JuiceFS processes with least-privilege credentials; disable sync operations if not actively required; enforce filesystem access controls (SELinux/AppArmor policies) limiting write operations to designated directories; monitor filesystem and system logs for unexpected file creation; apply upstream fix from commit 0bcd70b3d (PR #7425) as interim solution pending official vendor release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-63899
GHSA-2pgv-c2r7-f43r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB