CVE-2026-77298
JSON

8.7high

SeaweedFS S3 OIDC Bearer authentication bypasses IAM role trust policy

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-SEAWEEDFS-2026-77298GHSA-757h-cm9x-wprg

Description

SeaweedFS is a distributed storage system for files and blobs. In versions 4.39 and earlier, the S3 API accepts an external OIDC JWT sent directly in the Authorization header and maps it to an IAM role without enforcing that role's trust policy, so a federated user can assume a role they are not permitted to hold. The standard STS AssumeRoleWithWebIdentity path rejects such a token when the role's trust policy does not trust the token's federated provider, but the direct S3 bearer path validates only the token itself and then authenticates as the mapped role and evaluates that role's attached S3 permissions. As a result, a valid OIDC user whose token would be denied the role through STS can obtain the role's S3 access, including object read, write, and delete, by presenting the raw OIDC JWT directly to the S3 API. This issue is fixed in version 4.40

Affected

Product or packageVersionsReported by
seaweedfs seaweedfs< 4.40CVE List
seaweedfs (Bitnami)before 4.40.0Bitnami Vulnerability Database

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-77298 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-77298 changed 2026-09-09Public domain
Bitnami Vulnerability DatabaseBIT-SEAWEEDFS-2026-77298 changed 2026-09-02Apache-2.0