CVE-2026-77763: JuiceFS Local Filestore Backend Joins Object Keys onto the Storage Root Without a Containment Check, Allowing Writes Outside the Configured Directory

Published Aug 21, 2026
·
Updated

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.

Affected Software

1 affected component
JuiceFS

Event History

Aug 21, 2026
CVE Published
via MITRE·11:05 AM
Data Sourced
via MITRE·11:05 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using JuiceFS file:// stores or using the filestore backend as a sync destination are exposed when they sync from an object store whose keys are not fully trusted. This includes shared or public buckets, or buckets where an attacker can create objects.

2

What does an attacker need to exploit this?

An attacker needs the ability to place an object with traversal segments in its key in a source object store that an operator syncs to a local filestore destination. No authentication or privileges on the destination host are described, but exploitation requires the operator to perform the sync and interact with the malicious content.

3

What is the impact of a malicious object key?

A traversal-containing key can cause attacker-supplied content to be written outside the configured local destination directory. The affected path handling is used by Put, Get, Head, Delete, Chmod, Chown, Symlink, and Readlink operations, and the vulnerable behavior returns no error for an escaping path.

4

What mitigation is available before updating?

Do not sync untrusted, shared, or public object-store contents to a file:// or filestore destination. Restrict write access to source buckets and ensure their object keys cannot contain traversal segments.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203