GrepBoard/Manuals
605 manuals ·

CVE-2025-30156 CephX auth bypass: check if your Ceph is fixed

·Tested on Ceph Tentacle 20.2 · Squid 19.2 · Reef 18.2 official docs and advisories · 2026-10·Test scope ↓·6 steps

CVE-2025-30156 (CephX authentication bypass, CVSS 8.9) is fixed in Tentacle 20.2.4 and Squid 19.2.6. Check ceph versions, upgrade, then rotate old aes keys.

console
$ ceph versions

CVE-2025-30156 (authentication bypass through AES-CBC misuse in CephX) is fixed in Tentacle 20.2.4 and Squid 19.2.6. If ceph versions shows any daemon below those, you are affected, and even after upgrading you still need to rotate old aes-type keys to the new type to finish the response.

[1] Read the advisory. The official sources are the CVE-2025-30156 page in the Ceph docs and the GitHub security advisory GHSA-7q3q-3975-qw3q.

ItemValue
Published2026-08-19 (GHSA date; same day as the 20.2.4 and 19.2.6 releases)
SeverityHigh · CVSS 3.1 base score 8.9
VectorCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
AffectedGHSA: <20.2.4, <19.2.6 · docs: all prior versions and any credential using the aes key type
Fixed20.2.4 · 19.2.6 (and later)

The cause is that the AES-128-CBC encryption CephX uses has no authentication (no HMAC) and a hard-coded IV. The docs explain that an attacker holding a low-privilege CephX key, or able to observe CephX traffic, can flip ciphertext bits and forge credentials. In the vector, AV:A means an adjacent-network attack and PR:L means low privileges are required.

[2] Judge by release series. ceph versions counts what daemons report, so a daemon whose package was upgraded but never restarted still shows the old version.

SeriesAffectedAction
Tentacle 20.2.xbelow 20.2.4Upgrade to 20.2.4
Squid 19.2.xbelow 19.2.6Upgrade to 19.2.6 or later (19.2.7 is the latest in the table), or to Tentacle 20.2.4
Reef 18.2.xall (within <19.2.6) · no Reef release in the fixed listUpgrade to Squid or Tentacle

In the release table, Reef was archived on 2026-03-20 with 18.2.8 as its last release, and the table says archived releases do not receive bug fixes or backports. The series ended before the advisory came out on 2026-08-19, so the official list offers no Reef release with the fix. If you run packages from a distribution (RHEL, Ubuntu and so on) or another deployment tool, the version numbers may differ; as the advisory says, follow that distributor's guidance.

[3] Avoid one target when choosing the version. The Important box in the Tentacle release notes warns that upgrading from Squid 19.2.6 to a Tentacle release earlier than 20.2.4 may fail: the key type change arrived in 20.2.4, so older Tentacle daemons fail to start. If you go to Tentacle, target 20.2.4. The upgrade procedure itself is in Ceph Squid 19.2 EOL (est. Oct 31, 2026): check ceph versions; note also that Squid's estimated end of life in the table is 2026-10-31.

[4] Upgrade every daemon. The docs say all Ceph daemon packages and containers must be upgraded, while client and kernel upgrades are "recommended to support the new key type but not required". Run ceph versions again afterwards and confirm only fixed versions remain.

[5] Rotate keys after the upgrade. The affected scope includes "any credential using the aes key type", so upgrading alone does not finish the job. An upgraded cluster keeps accepting existing aes keys and raises six new health warnings and errors (starting at AUTH_INSECURE_KEYS_CREATABLE). cephadm automates daemon key rotation but not client keys, and Rook rotates some client keys automatically, with exclusions. Package-based clusters follow the "Upgrading and Rotating CephX Keys" procedure in the docs. The client key rotation order and the AUTH_INSECURE_CLIENT_KEY_TYPE warning are covered in Fix Ceph AUTH_INSECURE_CLIENT_KEY_TYPE: rotate keys to aes256k.

[6] If you cannot upgrade right away, record that and schedule it. The GHSA has no workarounds section, and the recommendation in the Ceph docs advisory is to upgrade immediately and follow your distributor's or deployment tool's guidance. No official single-setting mitigation was found in either advisory.

The same releases also fix CVE-2026-39944 (signature verification of RGW STS session tokens), which the 20.2.4 and 19.2.6 release notes say shares the root cause of this CVE. If you run RGW, read that entry too.

#ceph#cephx#cve#security#tentacle#squid