SeaweedFS: Unauthenticated filer IAM gRPC service grants S3 administrative control
Critical severity
GitHub Reviewed
Published
Jul 8, 2026
in
seaweedfs/seaweedfs
•
Updated Sep 2, 2026
Package
Affected versions
< 0.0.0-20260512171108-5e8f99f40a8a
Patched versions
0.0.0-20260512171108-5e8f99f40a8a
Description
Published by the National Vulnerability Database
Aug 11, 2026
Published to the GitHub Advisory Database
Sep 2, 2026
Reviewed
Sep 2, 2026
Last updated
Sep 2, 2026
Impact
The filer registered the IAM gRPC service (
SeaweedIdentityAccessManagement) with no authentication. Any client able to reach the filer gRPC port could invoke IAM RPCs —CreateUser,CreateAccessKey,PutUserPolicy, and related calls — to mint credentials and grant itself S3 administrative privileges. This fully compromises the confidentiality, integrity, and availability of stored objects.No credentials are required, and enabling the documented JWT signing keys does not close it: the IAM gRPC service was not gated by that mechanism. Even under mTLS, the listener-level
allowed_commonNamesACL applies to the port rather than to individual RPCs, so any cluster mesh certificate could reach these administrative calls.Affected component
weed/server/filer_server_handlers_iam_grpc.goweed/command/filer.goPatches
Fixed in 4.24. Every IAM RPC now requires a Bearer token signed with the filer admin signing key (
jwt.filer_signing.key), and the service refuses to register when no signing key is configured — removing the unauthenticated default entirely.Workarounds
Restrict the filer gRPC port to trusted hosts. Configure
jwt.filer_signing.keyinsecurity.tomland upgrade to 4.24; operators that use the IAM RPCs must attach an admin-signed Bearer token on each call.References
References