# 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

- Severity: Medium 6.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.09%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-09-09T16:06:27.744Z
- Modified: 2026-09-14T14:17:18.553Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- ansible-collection-community-general: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-87872> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2530988> (issue-tracking)

## Sources

- CVE List: [CVE-2026-87872](https://www.cve.org/CVERecord?id=CVE-2026-87872), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-87872](https://nvd.nist.gov/vuln/detail/CVE-2026-87872), Public domain, modified 2026-09-14

---

Page: https://cve.day/CVE-2026-87872 · Whole record: https://cve.day/CVE-2026-87872.json · Rebuilt by cve.day 2026-11-25T22:59:37.774Z
