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
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | all versions | |
| Red Hat | Red Hat Ceph Storage 9 | all versions | |
| Red Hat | Red Hat OpenStack Platform 17.1 | all versions | |
| Red Hat | Red Hat OpenStack Platform 18.0 | all versions |
References and patches
- https://access.redhat.com/security/cve/CVE-2026-87872 vdb-entry
- RHBZ#2530988 issue-tracking