Vulnerability · Published Sep 9, 2026 · Assigned by redhat
CVE-2026-87872Community.general: community.general: ocapi module_utils (ocapi_command, ocapi_info) hardcode validate_certs=false with no override, enabling tls man-in-the-middle and credential disclosure
Medium 6.8
In plain English
A medium-severity improper certificate validation in Red Hat Ceph Storage 5 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities).
Official description
A flaw was found in the OCAPI modules (ocapi_command, ocapi_info) of the community.general Ansible collection. The shared OCAPI request helper disables TLS certificate validation on every request and the modules expose no parameter to re-enable it, while sending HTTP Basic-Auth credentials to an https endpoint. An attacker positioned on the network path between the Ansible controller and the OCAPI-managed storage/enclosure device can present any certificate, intercept the session, capture the credentials, and tamper with responses.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | no fix listed | DEBIAN-CVE-2026-87872 |
| Debian:13 | ansible | no fix listed | DEBIAN-CVE-2026-87872 |
| Debian:14 | ansible | no fix listed | DEBIAN-CVE-2026-87872 |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-87872 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2026-87872 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2026-87872 |
| Ubuntu:22.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-87872 |
| Ubuntu:24.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-87872 |
| Ubuntu:26.04:LTS | ansible-core | no fix listed | UBUNTU-CVE-2026-87872 |
| Ubuntu:26.10 | ansible-core | no fix listed | UBUNTU-CVE-2026-87872 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | see references |
| Red Hat | Red Hat Ceph Storage 9 | see references |
| Red Hat | Red Hat OpenStack Platform 17.1 | see references |
| Red Hat | Red Hat OpenStack Platform 18.0 | see references |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://access.redhat.com/security/cve/CVE-2026-87872 vdb-entry, x_refsource_REDHAT
- RHBZ#2530988 issue-tracking, x_refsource_REDHAT