Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach SFTP port 2022 over network
-
DeliveryEnumerate or guess valid username
-
ExploitSubmit empty password to password auth
-
ExecutionEmpty-slice compare returns true
-
PersistObtain SFTP session as user
-
ImpactRead, write, delete within user's paths
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires all of the following: network reach to the SeaweedFS SFTP port (default 2022); 'password' present in -sftp.authMethods (default is 'password,publickey'); at least one SFTP user provisioned without a password - the normal setup for public-key-only or certificate-only users, whose user-store JSON leaves the 'password' field empty; and knowledge of a valid username (frequently predictable from home-directory, tenant, or service names). Limiting factors that reduce real-world exposure: only accounts with an empty stored password are bypassable (password-protected accounts are safe, as shown by the 'haspass' PoC case returning denied for an empty password), and the bug is neutralized if 'password' is removed from authMethods. Public-key validation itself is not weakened. |
| Impact | All severity signals point the same direction, making this a genuine high priority rather than an inflated CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated, no-interaction exploitation, and the described mechanism supports it exactly: subtle.ConstantTimeCompare returns 1 for two zero-length slices, so an empty login password matches any user whose stored password is empty. The vuln.today decision label is act_now, consistent with a trivially exploitable pre-auth authentication bypass. No EPSS probability and no CISA KEV entry are supplied in the input, so widespread or confirmed active exploitation cannot be asserted; however, the vendor GitHub Security Advisory (GHSA-q9rj-8p2j-whg4) includes a complete, demonstrated proof-of-concept (a paramiko script with observed OK/denied output), so working exploit code is effectively public. The one data tension is fix status: the reporter metadata line states 'not yet patched,' while the CVE description and the linked commit 3cdfe648 show the fix landing in version 4.46 - treat 4.46 as the fixed release and the 'not yet patched' note as stale reporter metadata. |
| Exploit ScenarioDerived | An organization runs SeaweedFS SFTP (weed sftp / weed server -sftp / weed filer -sftp) with the default authMethods 'password,publickey' and provisions users for public-key-only access, leaving their stored password empty. A remote attacker who merely guesses or enumerates a valid username (often predictable from tenant, service, or home-directory names) connects to port 2022 and authenticates with a zero-length password, obtaining a full SFTP session as that user. A public, demonstrated PoC exists in the vendor advisory, so no exploit development is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
The SeaweedFS SFTP server (versions through 4.45) authenticates an empty login password against any account whose stored password is also empty, so remote unauthenticated attackers who know only a valid username gain a full SFTP session with that user's home directory and path permissions. Because 'password' is part of the default -sftp.authMethods value ('password,publickey'), key-only or certificate-only users provisioned without a password are the exposed accounts; password-protected accounts are not affected. The GitHub advisory (GHSA-q9rj-8p2j-whg4) includes a proof-of-concept with observed results showing an empty password returning 'OK' for a key-only user, and the issue is fixed in version 4.46 via commit 3cdfe648eb14e20fa5383b52076b38af94dbbc8c; exploitation status is assessed as act_now, and no public exploit beyond the advisory PoC is identified at time of analysis.
RemediationAI
Upgrade SeaweedFS to version 4.46, which adds an explicit rejection of zero-length stored or supplied passwords in FileStore.ValidatePassword plus a regression test (upstream fix commit 3cdfe648eb14e20fa5383b52076b38af94dbbc8c, advisory https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-q9rj-8p2j-whg4); the advisory's package metadata still shows 'not yet patched', so confirm that the build you deploy actually contains the commit. Where an immediate upgrade is not possible, the effective workaround is to remove 'password' from -sftp.authMethods so only publickey (or certificate) authentication is offered - this neutralizes the bypass entirely but disables password logins for every account that relies on them. Additionally restrict network reachability to the SFTP port (default 2022) to trusted networks, which shrinks the population of attackers who can reach the authentication path but does not fix the flaw; note that public-key validation itself is unaffected and needs no change.
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
SeaweedFS is a Go-based distributed storage system for files and blobs, and the affected component is its built-in SFTP front end (weed sftp, weed server -sftp, weed filer -sftp), which authenticates clients through golang.org/x/crypto/ssh. When 'password' is in the enabled auth methods, config.PasswordCallback is wired to password authenticator's Authenticate in weed/sftpd/auth/password.go, which passes the client-supplied bytes straight to FileStore.ValidatePassword in weed/sftpd/user/filestore.go. That function compares the stored secret with the supplied one using subtle.ConstantTimeCompare, which returns 1 when both slices have equal length and content; for a public-key-only user the stored password is the empty string, so a zero-length client secret compares equal and authentication succeeds. This is CWE-287 (Improper Authentication) with CWE-1284 (Improper Validation of Specified Quantity in Input) as the contributing root cause: nothing rejects a zero-length secret either in the store or in the authenticator before comparison. Public-key validation is not weakened, since an empty PublicKeys slice causes its loop to return false. No race condition, memory-safety issue, or cryptographic weakness in the comparison primitive is involved; the defect is purely a missing length/emptiness check at a trust boundary.
Know when Seaweedfs gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Remote, low-complexity, unauthenticated empty-password bypass yields full read/write/delete of the targeted user's files (C:H/I:H), with no direct availability impact and no scope change.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
SeaweedFS is a distributed storage system for files and blobs. Prior to version 4.46, FileStore.ValidatePassword in the SFTP server does not reject zero-length secrets before comparing them, causing an empty login password to match any account configured without one, such as public-key-only or certificate-only users. Because password authentication is enabled by default, a remote attacker who knows a valid username can log in without a key or secret and obtain an SFTP session with that user's home directory and path permissions. This issue is fixed in version 4.46.
Technical POC Analysis
Bug class: CWE-287 Improper Authentication, with contributing CWE-1284 (improper validation of input length).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SeaweedFS SFTP server through version 4.45 contains a critical authentication bypass allowing remote unauthenticated attackers to gain full SFTP access to any account with an empty password, which includes key-only provisioned users. This exposes sensitive data and file system permissions for affected accounts, requiring immediate remediation.
Apply vendor patch.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Server-side request forgery with response read-back in SeaweedFS distributed storage (versions prior to 4.24) lets anyon
Cross-tenant authorization bypass in SeaweedFS filer JWT path authorization allows any authenticated tenant to read and
Cross-bucket read/write in SeaweedFS before 4.30 lets remote attackers escape a bucket's namespace because the S3 API ga
Cross-tenant object deletion in SeaweedFS before 4.34 lets an authenticated S3 principal holding write access to just on
Authentication bypass in SeaweedFS filer before 4.24 exposes the SeaweedIdentityAccessManagement gRPC service without an
Authorization bypass in SeaweedFS versions 4.39 and earlier allows authenticated federated users to assume IAM roles the
Incorrect path authorization in SeaweedFS SFTP server (versions 3.88-4.39) allows an authenticated low-privilege user to
SeaweedFS 4.39's TUS resumable-upload handler fails to re-validate JWT prefix scoping on HEAD, PATCH, and DELETE operati
Incorrect authorization in SeaweedFS S3 API's PutObjectAcl handler allows an authenticated low-privilege S3 principal to
The SeaweedFS Helm chart between versions 4.0.388 and 4.41 embedded a single, unencrypted Ed25519 SFTP host private key
SeaweedFS 4.41 and earlier leave three attacker-controlled inputs unvalidated inside the VolumeServer.FetchAndWriteNeedl
SeaweedFS through 4.41 lets unauthenticated network attackers turn the volume server's FetchAndWriteNeedle gRPC handler
EUVD-2026-135665
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB