OSSN-0108: Multiple authentication vulnerabilities in Ceph

Summary

The latest Ceph releases of Ceph 20.2.4 and Ceph 19.2.6 patch four CVEs across several components (CVE-2025-30156, CVE-2026-39944, CVE-2026-50152 and CVE-2026-54330). All OpenStack services using CephX keyrings are affected. Ceph servers should be upgraded and their CephX keyrings should be rotated. The CephX keyrings used by OpenStack should be rotated only after Ceph client software on every OpenStack server is upgraded and then virtual machines need to be restarted or live migrated in order to load the new keyring.

Affected Services / Software

  • Ceph (all versions prior to v20.2.4 or v19.2.6)

  • OpenStack services with CephX keyrings (Nova, Cinder, Glance, Manila)

  • Ceph RADOS Gateway (RGW), when used as an Object Store (Swift/S3) backend

Discussion

Any OpenStack service with a CephX keyring (Nova, Cinder, Glance, Manila) is at risk. Data-at-rest encryption is not affected by CVE-2025-30156 but is affected by CVE-2026-50152. Both are fixed by the update in addition to CVE-2026-39944 and CVE-2026-54330.

For an OpenStack cloud using RBD, RGW or NFS, this can be considered an internal vulnerability, potentially enabling an insider to escalate privilege. For example, a Nova guest using Cinder RBD does not have access to the CephX key or Ceph’s storage network; the Nova host has access to them but only an insider should have access to the Nova host. However, if an OpenStack tenant is using Manila with native CephFS (not with NFS-Ganesha), then those tenants could exploit these CVEs.

The hardcoded initialization vector means identical plaintexts produce identical ciphertexts. The missing HMAC allows CBC bit-flipping. An attacker who compromises any CephX entity (or obtains its shared secret from network traffic) can tamper with a ticket’s permissions without detection and forge credentials for privileged services.

The fix modifies Ceph to use AES256-CTS-HMAC-SHA384-192 (RFC 8009), a new CephX key type named aes256k. Both Ceph server and client packages must be upgraded to use it. If krbd (in place of librbd) or CephFS kernel mounts (in place of ceph-fuse or NFS-Ganesha) are used, the client also requires Linux kernel 7.0 or later. Upgrading the servers and rotating their keys to aes256k resolves the vulnerabilities; clients that have not yet been upgraded continue to authenticate with their existing aes keys in the meantime.

Contacts / References

Author: John Fulton (Red Hat), Goutham Pacha Ravi (Red Hat), Sage McTaggart (IBM)