CVE-2026-87872
Community.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
- State
- Published
- Severity
- 6.8 Medium
- Published
- Sep 9, 2026
- Updated
- Sep 14, 2026
- Reserved
- Sep 9, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.8 Medium | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | redhat |
Weaknesses
- CWE-295 Improper Certificate Validation
Affected Products
| Product | Versions |
|---|---|
Red Hat Ceph Storage 5Red Hat | |
Red Hat Ceph Storage 9Red Hat | |
Red Hat OpenStack Platform 17.1Red Hat | |
Red Hat OpenStack Platform 18.0Red Hat |
References
- https://access.redhat.com/security/cve/CVE-2026-87872vdb-entry
- RHBZ#2530988issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.