CVE-2026-87872
published medium CVSS 3.1 · 6.8Community.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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | ansible-collection-community-generalRed Hat Ceph Storage 5 | Affected | Not stated | redhat |
| Red Hat | — | ansible-collection-community-generalRed Hat Ceph Storage 9 | Affected | Not stated | redhat |
| Red Hat | — | ansible-collection-community-generalRed Hat OpenStack Platform 17.1 | Affected | Not stated | redhat |
| Red Hat | — | ansible-collection-community-generalRed Hat OpenStack Platform 18.0 | Affected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | Default: affected | redhat · cna |
| Red Hat | Red Hat Ceph Storage 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenStack Platform 17.1 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenStack Platform 18.0 | Default: affected | redhat · cna |
Weaknesses
1- CWE-295 Improper Certificate Validation
References
2- https://access.redhat.com/security/cve/CVE-2026-87872
- RHBZ#2530988 https://bugzilla.redhat.com/show_bug.cgi?id=2530988
Provider assertions
2redhat · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 78a9baf9ffe912192997f595663c107912019d33479ed48ab1c9940cb78aca6f
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record