CurlClient's uninitialized $verifyPeer property defaults to disabling TLS peer verification — a legacy behavior inherited through null propagation from PHP to cURL. The real vulnerability isn't the uninitialized property; it's the API design that allowed the absence of a decision to resolve into the most dangerous possible outcome: silent certificate bypass. When a developer uses a class without explicitly configuring it, they expect sensible defaults — not MITM-vulnerable traffic. The fix enforces a semantic distinction that should have existed from the start: 'no CA configured' (verification enabled but cannot complete) versus 'developer explicitly chose to accept self-signed certificates' (verification disabled by intent). This is a configuration inheritance vulnerability — CurlClient inherited cURL's permissive default through null propagation and passed it unmodified to any calling code that didn't explicitly override it. Libraries are supposed to break dangerous inheritance chains, not amplify them. The blast radius here is amplified by context: MISP serves as the nervous system for threat intelligence sharing among CERTs, ISACs, and government agencies worldwide. Exploitation doesn't stop at a single installation — compromised intelligence flows to every downstream consumer. Check your CurlClient implementations now: ensure any instantiation explicitly sets $verifyPeer and $verifyHost to either true (strict verification) or explicitly false with documented justification. If you have existing code relying on null-as-disabled behavior, test the new explicit self-signed mode thoroughly before deploying the patch — the change may alter existing workflows that were previously functional but insecure.
CVE-2026-85221
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMISP contains an improper TLS certificate validation vulnerability in CurlClient. The CurlClient::$verifyPeer property was not explicitly initialized and therefore defaulted to null. When passed to cURL, this value effectively disabled TLS peer verification unless the calling code explicitly enabled it. As a result, HTTPS connections made through affected CurlClient instances could accept certificates that were not issued by a trusted certificate authority. An attacker capable of intercepting or manipulating network traffic between a MISP instance and a remote HTTPS service could impersonate the remote endpoint and perform a man-in-the-middle attack. Successful exploitation could allow an attacker to observe sensitive information transmitted by MISP, including authentication material or exchanged threat intelligence, and to modify responses returned to the MISP instance. The impact depends on the functionality using CurlClient and the data exchanged with the remote service. The patch enables TLS peer verification by default while preserving explicit support for configured self-signed certificates. It also corrects the self-signed certificate handling in SyncTool so that peer verification is disabled only when no pinned CA certificate is configured.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysisThe application does not properly validate the TLS certificate presented by the other side — skipping the chain, the hostname, or expiry — so an attacker with a forged or mismatched certificate can sit in the middle of a supposedly secure connection. It is a common trap in custom clients and misconfigured libraries. The fix is full certificate validation, and never disabling verification to make errors go away.
General guidance for the improper certificate validation class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2.5.46CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor data2.5.46
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-85221 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesCurlClient's uninitialized `$verifyPeer` property defaults to disabling TLS peer verification — a legacy behavior inherited through null propagation from PHP to cURL. The real vulnerability isn't the uninitialized property; it's the API design that allowed the absence of a decision to resolve into the most dangerous possible outcome: silent certificate bypass. When a developer uses a class without explicitly configuring it, they expect sensible defaults — not MITM-vulnerable traffic. The fix enforces a semantic distinction that should have existed from the start: 'no CA configured' (verification enabled but cannot complete) versus 'developer explicitly chose to accept self-signed certificates' (verification disabled by intent). This is a configuration inheritance vulnerability — CurlClient inherited cURL's permissive default through null propagation and passed it unmodified to any calling code that didn't explicitly override it. Libraries are supposed to break dangerous inheritance chains, not amplify them. The blast radius here is amplified by context: MISP serves as the nervous system for threat intelligence sharing among CERTs, ISACs, and government agencies worldwide. Exploitation doesn't stop at a single installation — compromised intelligence flows to every downstream consumer. Check your CurlClient implementations now: ensure any instantiation explicitly sets `$verifyPeer` and `$verifyHost` to either true (strict verification) or explicitly false with documented justification. If you have existing code relying on null-as-disabled behavior, test the new explicit self-signed mode thoroughly before deploying the patch — the change may alter existing workflows that were previously functional but insecure.
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-85221 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data