
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-77317 is an incorrect authorization vulnerability in the SeaweedFS SFTP server that allows authenticated low-privilege users to bypass configured ACL boundaries and access sibling tenant directories. The flaw affects SeaweedFS versions 3.88 through 4.39 (inclusive), introduced when the SFTP implementation was added in release 3.88. It was disclosed on August 26, 2026, with a fix available in version 4.40. The vulnerability carries a CVSS v3.1 base score of 8.1 (High) (GitHub Advisory, Feedly).
The root cause is an incorrect authorization check (CWE-863) in weed/sftpd/sftp_permissions.go, where path permission evaluation uses strings.HasPrefix(filepath, p) — a raw string-prefix comparison that does not enforce path-component boundaries. As a result, a permission entry for /tenants/alice inadvertently matches sibling paths such as /tenants/alice-archive, /tenants/alice2, and /tenants/alice-backup, because the check does not require a trailing / separator or exact equality. The same flaw exists in the isPathInHomeDirectory function. Exploitation requires only valid SFTP credentials for a low-privilege account with a root home directory (HomeDir: "/") and narrow path permissions; no elevated privileges or special configuration are needed beyond access to the SFTP port (GitHub Advisory, Fix Commit).
An authenticated low-privilege SFTP user can cross configured ACL boundaries to read files belonging to other tenants (confidentiality impact) and, if granted write permissions on their own path, overwrite files in sibling tenant directories (integrity impact). This enables cross-tenant data disclosure and data tampering in multi-tenant SeaweedFS deployments, entirely through the documented SFTP service using the attacker's own valid credentials. Availability is not directly impacted, but overwriting critical tenant files could cause indirect service disruption (GitHub Advisory).
No public proof-of-concept exploit code has been published, and there is no evidence of in-the-wild exploitation at this time (Feedly). The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. However, the attack is straightforward for any authenticated SFTP user in a multi-tenant deployment — no special tooling is required beyond a standard SFTP client and knowledge of sibling path naming conventions (GitHub Advisory).
/tenants/<name>)./tenants/alice) with HomeDir: "/".sftp, WinSCP, FileZilla) to authenticate to the SeaweedFS SFTP port with the low-privilege credentials./tenants/alice-archive, /tenants/alice2, /tenants/alice-backup).get /tenants/alice-archive/secret.txt) — the flawed prefix check grants read access.put malicious.txt /tenants/alice-archive/secret.txt) to tamper with another tenant's data (GitHub Advisory).scoped) successfully reading or writing files under sibling paths (e.g., /tenants/alice-archive/) that are not listed in that user's configured permissions; unexpected file open/create operations on tenant directories not matching the user's ACL entry.Upgrade SeaweedFS to version 4.40 or later, which replaces the flawed strings.HasPrefix path comparison with a pathWithin helper that enforces path-component boundaries (requiring exact equality or a separator-delimited descendant) (Fix Commit). If immediate patching is not possible, restrict SFTP access at the network level to trusted users only, and avoid deploying multi-tenant configurations with sibling path naming conventions until the patch is applied. Additionally, audit SFTP access logs for any cross-tenant file access that may have occurred on affected versions (GitHub Advisory).
The advisory was prepared with AI assistance and manually validated end-to-end against SeaweedFS 4.39 by the reporter (DavidCarliez), and published by SeaweedFS maintainer chrislusf on August 21, 2026 (GitHub Advisory). Brief mention of the vulnerability appeared on Mastodon via @thehackerwire shortly after disclosure. No broader media coverage or significant community debate has been observed at this time.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."