CVE-2026-87872Community.general: community.general: ocapi module_utils (ocapi_command, ocapi_info)…
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ansible | Fix pending | UBUNTU-CVE-2026-87872 | |
| Ubuntu 26.10 | ansible-core | Fix pending | UBUNTU-CVE-2026-87872 | |
| Ubuntu 26.04 | ansible | Under investigation | UBUNTU-CVE-2026-87872 | |
| Ubuntu 26.04 | ansible-core | Under investigation | UBUNTU-CVE-2026-87872 | |
| Ubuntu 24.04 | ansible | Under investigation | UBUNTU-CVE-2026-87872 | |
| Ubuntu 24.04 | ansible-core | Under investigation | UBUNTU-CVE-2026-87872 | |
| Ubuntu 22.04 | ansible | Fix pending | UBUNTU-CVE-2026-87872 | |
| Ubuntu 22.04 | ansible-core | Under investigation | UBUNTU-CVE-2026-87872 | |
| Ubuntu 20.04 | ansible | Fix pending | UBUNTU-CVE-2026-87872 | |
| Ubuntu 18.04 | ansible | Fix pending | UBUNTU-CVE-2026-87872 | |
| Ubuntu 16.04 | ansible | Fix pending | UBUNTU-CVE-2026-87872 | |
| Ubuntu 14.04 | ansible | Fix pending | UBUNTU-CVE-2026-87872 | |
| Debian 14 | ansible | Fix pending | DEBIAN-CVE-2026-87872 | |
| Debian 13 | ansible | Fix pending | DEBIAN-CVE-2026-87872 | |
| Debian 12 | ansible | Fix pending | DEBIAN-CVE-2026-87872 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Ceph Storage 5
- Red Hat Ceph Storage 9
- Red Hat OpenStack Platform 17.1
- Red Hat OpenStack Platform 18.0
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.
References
- https://access.redhat.com/security/cve/CVE-2026-87872
- https://bugzilla.redhat.com/show_bug.cgi?id=2530988
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.