CVEfocus › CVE database › CVE-2026-87872

CVE-2026-87872Community.general: community.general: ocapi module_utils (ocapi_command, ocapi_info)…

CVSS 6.8 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-09-09Updated 2026-09-14Assigner: redhat

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.

CWE-295

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

10Fix pending
5Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ansibleFix pendingUBUNTU-CVE-2026-87872
Ubuntu 26.10ansible-coreFix pendingUBUNTU-CVE-2026-87872
Ubuntu 26.04ansibleUnder investigationUBUNTU-CVE-2026-87872
Ubuntu 26.04ansible-coreUnder investigationUBUNTU-CVE-2026-87872
Ubuntu 24.04ansibleUnder investigationUBUNTU-CVE-2026-87872
Ubuntu 24.04ansible-coreUnder investigationUBUNTU-CVE-2026-87872
Ubuntu 22.04ansibleFix pendingUBUNTU-CVE-2026-87872
Ubuntu 22.04ansible-coreUnder investigationUBUNTU-CVE-2026-87872
Ubuntu 20.04ansibleFix pendingUBUNTU-CVE-2026-87872
Ubuntu 18.04ansibleFix pendingUBUNTU-CVE-2026-87872
Ubuntu 16.04ansibleFix pendingUBUNTU-CVE-2026-87872
Ubuntu 14.04ansibleFix pendingUBUNTU-CVE-2026-87872
Debian 14ansibleFix pendingDEBIAN-CVE-2026-87872
Debian 13ansibleFix pendingDEBIAN-CVE-2026-87872
Debian 12ansibleFix pendingDEBIAN-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.

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

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.