cve.bz

CVE-2026-87872 Improper Certificate Validation

6.8 mediumEPSS 0.1%

Medium (6.8). EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-87872 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-87872?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-87872?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-87872 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14ansibleno fix listedDEBIAN-CVE-2026-87872
Ubuntu22.04:LTSansible-coreno fix listedUBUNTU-CVE-2026-87872
Ubuntu24.04:LTS, 26.04:LTS, 26.10ansible, ansible-coreno fix listedUBUNTU-CVE-2026-87872
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreansibleno fix listedUBUNTU-CVE-2026-87872

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the community.general collection, community-maintained

content not shipped in a Red Hat-supported execution environment for Ansible

Automation Platform nor in RHEL AppStream. Exploitation requires an on-path

network position between the Ansible controller and the OCAPI-managed device.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Ceph Storage 5ansible-collection-community-generalFix deferred
Red Hat Ceph Storage 9ansible-collection-community-generalFix deferred
Red Hat OpenStack Platform 17.1ansible-collection-community-generalFix deferred
Red Hat OpenStack Platform 18.0ansible-collection-community-generalFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-87872.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON