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.
Published: 2026-09-09
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The community.general Ansible collection’s ocapi_command and ocapi_info modules rely on a shared OCAPI request helper that disables TLS certificate validation on every request and provides no option to override it while sending HTTP Basic‑Auth credentials to an HTTPS endpoint. This design flaw, classified as CWE‑295, enables an attacker positioned on the network path between the Ansible controller and the OCAPI‑managed storage or enclosure device to present a forged certificate, intercept the session, capture the credentials, and modify responses. The result is confidential credential theft and the potential for unauthorized actions on the target device, without providing direct remote code execution.

Affected Systems

The vulnerability affects Red Hat Ceph Storage 5 and 9 and Red Hat OpenStack Platform 17.1 and 18.0, all of which can utilize the community.general collection’s OCAPI modules. Specific component or sub‑version details are not provided; the impact applies to any installation of these products that deploys ocapi_command or ocapi_info without mitigation.

Risk and Exploitability

The CVSS base score is 6.8, indicating medium severity. No EPSS score is available, and the issue is not listed in the CISA KEV catalog. To exploit the vulnerability an attacker must be able to intercept traffic between the Ansible controller and the target device over a management network that is not fully isolated. Because the flaw involves TLS bypass rather than privilege escalation or code execution, the required conditions are limited to a network compromise. The risk is moderate in environments where the management network traverses untrusted or shared segments.

Generated by OpenCVE AI on September 9, 2026 at 18:48 UTC.

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.


OpenCVE Recommended Actions

  • Restrict OCAPI module usage to fully trusted and isolated management network paths, avoiding any untrusted on‑path segments.
  • Treat Basic‑Auth credentials as exposed in transit and rotate them immediately if any suspicion of MITM activity arises.
  • Upgrade to the patched community.general collection or apply any official vendor fix as it becomes available.

Generated by OpenCVE AI on September 9, 2026 at 18:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 09 Sep 2026 16:30:00 +0000

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'}


Subscriptions

Redhat Ceph Storage Openstack
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-09T16:06:27.744Z

Reserved: 2026-09-09T13:36:20.508Z

Link: CVE-2026-87872

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-09T17:17:52.960

Modified: 2026-09-09T17:17:52.960

Link: CVE-2026-87872

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-09T19:00:15Z

Weaknesses
  • CWE-295

    Improper Certificate Validation