Description
Ceph is an open-source distributed storage platform providing object, block, and file storage. In versions prior to 20.2.4 and 19.2.6, the RADOS Gateway (RGW) protects STS session tokens with an AES-128-CBC handler that provides no message authentication, allowing an attacker who holds any valid STS token to tamper with it undetected and escalate to full RGW administrative access. Because the ciphertext is unauthenticated, the attacker can perform a CBC bit-flip on the acct_type, perm_type, and is_admin fields of their own token, and a forged is_admin value triggers a global administrative override that bypasses all capability checks. The attack is reachable remotely over the RGW S3 endpoint and is a self-contained modification of a token the attacker already possesses, requiring no encryption oracle and no network observation. It requires only a single valid STS token, which need not carry any elevated privileges, with STS enabled. This issue is fixed in versions 20.2.4 and 19.2.6.
Published: 2026-08-27
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw arises from RGW’s STS session tokens being encrypted with AES‑128‑CBC but lacking message authentication. Because the ciphertext is unprotected, an attacker who possesses any valid STS token can perform a CBC bit‑flip attack on the acct_type, perm_type, and is_admin fields of their own token. By forging a true is_admin value the attacker triggers a global administrative override that bypasses all capability checks. This provides full administrative control over the RGW service, allowing unrestricted read, write, and delete operations on all objects and buckets. The issue is fixed in Ceph releases 20.2.4 and 19.2.6.

Affected Systems

Ceph RADOS Gateway (RGW) instances that have Security Token Service (STS) token support enabled—that is, rgw_s3_auth_use_sts is set to true—running versions prior to 20.2.4 and 19.2.6 are vulnerable. The flaw applies to all releases that use the legacy AES‑128‑CBC token implementation. All other later releases are unaffected.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. EPSS data is not available, but the attack requires only STS to be enabled and one valid token in the attacker’s possession, making exploitation trivial for anyone who has a non‑privileged STS token. Since the token is unauthenticated the attacker can modify its contents without detection, leading to a clean privilege escalation. The vulnerability can be triggered remotely over the RGW S3 endpoint and does not require an encryption oracle or network observation. It is not listed in CISA’s KEV catalog, but its high severity and lack of mitigation in older releases warrant immediate action.

Generated by OpenCVE AI on August 28, 2026 at 06:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Ceph release that implements authenticated encryption for STS tokens, ensuring integrity protection.
  • Set rgw_s3_auth_use_sts=false in the RGW configuration to disable STS usage.
  • Restrict the issuance of STS tokens to necessary users and enable revocation or rotation policies to limit token lifespan.

Generated by OpenCVE AI on August 28, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in Ceph RGW's STS (Security Token Service) session token implementation. The STS tokens use the same unauthenticated AES-128-CBC encryption as CephX, which lacks message authentication and uses a hardcoded initialization vector. Because there is no integrity protection on the tokens, an attacker who holds any valid unprivileged STS token can perform a CBC bit-flip attack to modify the token contents and escalate to full RGW admin privileges. This requires only that STS is enabled (rgw_s3_auth_use_sts = true) and that the attacker has a single valid STS token. Successful exploitation grants complete control over the RGW service, including reading, writing, and deleting all objects and buckets. Ceph is an open-source distributed storage platform providing object, block, and file storage. In versions prior to 20.2.4 and 19.2.6, the RADOS Gateway (RGW) protects STS session tokens with an AES-128-CBC handler that provides no message authentication, allowing an attacker who holds any valid STS token to tamper with it undetected and escalate to full RGW administrative access. Because the ciphertext is unauthenticated, the attacker can perform a CBC bit-flip on the acct_type, perm_type, and is_admin fields of their own token, and a forged is_admin value triggers a global administrative override that bypasses all capability checks. The attack is reachable remotely over the RGW S3 endpoint and is a self-contained modification of a token the attacker already possesses, requiring no encryption oracle and no network observation. It requires only a single valid STS token, which need not carry any elevated privileges, with STS enabled. This issue is fixed in versions 20.2.4 and 19.2.6.
Title ceph: ceph: RGW STS session tokens vulnerable to CBC bit-flip attack enabling admin privilege escalation Ceph: CephX AES Authentication error
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 21 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Ceph
Ceph ceph
Vendors & Products Ceph
Ceph ceph

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in Ceph RGW's STS (Security Token Service) session token implementation. The STS tokens use the same unauthenticated AES-128-CBC encryption as CephX, which lacks message authentication and uses a hardcoded initialization vector. Because there is no integrity protection on the tokens, an attacker who holds any valid unprivileged STS token can perform a CBC bit-flip attack to modify the token contents and escalate to full RGW admin privileges. This requires only that STS is enabled (rgw_s3_auth_use_sts = true) and that the attacker has a single valid STS token. Successful exploitation grants complete control over the RGW service, including reading, writing, and deleting all objects and buckets.
Title ceph: ceph: RGW STS session tokens vulnerable to CBC bit-flip attack enabling admin privilege escalation
Weaknesses CWE-327
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

threat_severity

Important


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-01T03:56:15.659Z

Reserved: 2026-04-07T22:40:33.820Z

Link: CVE-2026-39944

cve-icon Vulnrichment

Updated: 2026-08-28T15:45:43.387Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-28T00:17:27.860

Modified: 2026-09-08T21:11:56.250

Link: CVE-2026-39944

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-19T17:57:46Z

Links: CVE-2026-39944 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T06:30:18Z

Weaknesses
  • CWE-327

    Use of a Broken or Risky Cryptographic Algorithm