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

Published Sep 9, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Until fixed, only run the OCAPI modules against devices reached over a fully trusted/isolated management network path (no untrusted on-path segments), since certificate validation cannot be enabled. Treat the OCAPI Basic-Auth credentials as exposable in transit and rotate if MITM exposure is suspected.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat openstack Platform
Vendors & Products Redhat openstack Platform
Type Values Removed Values Added
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.
Title 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
First Time appeared Redhat
Redhat ceph Storage
Redhat openstack
Weaknesses CWE-295
CPEs cpe:/a:redhat:ceph_storage:5
cpe:/a:redhat:ceph_storage:9
cpe:/a:redhat:openstack:17.1
cpe:/a:redhat:openstack:18.0
Vendors & Products Redhat
Redhat ceph Storage
Redhat openstack
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 14, 2026, 1:39 PM
Reserved
Sep 9, 2026, 1:36 PM
Status
Awaiting Analysis
Published
Sep 9, 2026, 5:17 PM
Modified
Sep 14, 2026, 2:17 PM
Severity
Moderate
Public date
Sep 9, 2026, 2:25 PM