All vulnerabilities

Servers and applications

CVE-2026-77298

S3 OIDC Bearer authentication bypasses IAM role trust policy

Severity
High
Published
21 Aug 2026
Last changed
21 Aug 2026
Added to UpHeron
22 Oct 2026
Exploit chance
0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Also known as
GHSA-757h-cm9x-wprg
Sources
Project advisories (GitHub)

Description

SeaweedFS S3 accepts external OIDC JWTs directly in Authorization: Bearer and maps them to IAM roles through the configured OIDC roleMapping. The direct S3 path validates the external OIDC token but does not enforce the selected role's trust policy before returning an authenticated principal for that role. The normal STS AssumeRoleWithWebIdentity path rejects the same JWT when the role trust policy does not trust the token's federated provider, but the direct S3 Bearer path still authenticates as the mapped role and evaluates the role's attached S3 permissions. I locally reproduced this on latest release 4.39 (db42bb49757b459551607939807017d7a9d5a94a) and current origin/master (c17aebeecf1cf47f8ff19a5007db42b7754c4772). The Docker component test creates a local OIDC issuer and JWKS, a valid RS256 JWT, an OIDC roleMapping to arn:aws:iam::role/DeniedOIDCBearerRole, and a role whose trust policy trusts a different federated provider.

From seaweedfs/seaweedfs's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SeaweedFSServers and applications · github:seaweedfs/seaweedfs
  • Every version up to 4.39

About SeaweedFS

Fast distributed storage system for blobs, objects, files, and data lake, for billions of files. Blob store has O(1) disk seek, cloud tiering

From Wikidata, CC0 1.0.
Docker Hub pulls
42,221,853Docker Hub, 15 Nov 2026
GitHub stars
36,070GitHub, 15 Nov 2026
Forks
3,114GitHub, 15 Nov 2026
Latest release
4.53GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
21 Apr 2015Wikidata
First published on GitHub
14 Jul 2014GitHub

References