# CVE-2026-77298: SeaweedFS S3 OIDC Bearer authentication bypasses IAM role trust policy

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-08-26T21:16:51.165Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: BIT-SEAWEEDFS-2026-77298, GHSA-757h-cm9x-wprg
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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

(As written by CVE List.)

## Affected

- seaweedfs seaweedfs: < 4.40
- seaweedfs (Bitnami): before 4.40.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `CVSS: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 Database: rating High

## References

- <https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-757h-cm9x-wprg> (web)
- <https://github.com/seaweedfs/seaweedfs/commit/ac524e140a37242b2488be9dfffae918da1d4de1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-77298> (web)

## Sources

- CVE List: [CVE-2026-77298](https://www.cve.org/CVERecord?id=CVE-2026-77298), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-77298](https://nvd.nist.gov/vuln/detail/CVE-2026-77298), Public domain, modified 2026-09-09
- Bitnami Vulnerability Database: [BIT-SEAWEEDFS-2026-77298](https://osv.dev/vulnerability/BIT-SEAWEEDFS-2026-77298), Apache-2.0, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-77298 · Whole record: https://cve.day/CVE-2026-77298.json · Rebuilt by cve.day 2026-11-25T22:59:35.442Z
