GHSA-2v6v-25fm-p4fg

Suggest an improvement
Source
https://github.com/advisories/GHSA-2v6v-25fm-p4fg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-2v6v-25fm-p4fg/GHSA-2v6v-25fm-p4fg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2v6v-25fm-p4fg
Aliases
Downstream
Published
2026-09-02T14:51:58Z
Modified
2026-09-10T15:26:01Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
SeaweedFS: Unauthenticated filer IAM gRPC service grants S3 administrative control
Details

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_commonNames ACL 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.go
  • weed/command/filer.go

Patches

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.key in security.toml and upgrade to 4.24; operators that use the IAM RPCs must attach an admin-signed Bearer token on each call.

References

Database specific
{
    "cwe_ids": [
        "CWE-306"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-02T14:51:58Z",
    "nvd_published_at": "2026-08-11T15:17:38Z",
    "severity": "CRITICAL"
}
References

Affected packages

Go / github.com/seaweedfs/seaweedfs

Package

Name
github.com/seaweedfs/seaweedfs
View open source insights on deps.dev
Purl
pkg:golang/github.com/seaweedfs/seaweedfs

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260512171108-5e8f99f40a8a

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-2v6v-25fm-p4fg/GHSA-2v6v-25fm-p4fg.json"