CVE-2026-59825: Mastodon · Unwanted deactivation of SSL/TLS certificate verification
Affects mastodonSource GCVE Database
Not known to be exploited : upgrade to 4.5.12 or 4.4.19 soon.
Data as of 22 Nov 2026, 21:15 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.5.12, 4.4.19
Exploitation evidence
Disclosed: evidence found.
CVE published 24 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade mastodon to 4.5.12 or 4.4.19.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamimastodonpkg:bitnami/mastodonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Mastodon to version 4.4.19 or later if using the 4.4.x branch, or to version 4.5.12 or later if using the 4.5.x branch. These versions contain the official fix that prevents global mutation of SSLContext default parameters and restores proper SSL/TLS certificate verification behavior. No other mitigation is required once patched.
Description
Mastodon versions prior to 4.4.19 and from 4.5.0 up to but not including 4.5.12 contain a vulnerability where SSL/TLS certificate verification can be globally disabled for requests made by puma web processes when LDAP authentication is configured with LDAP_TLS_NO_VERIFY=true. This occurs due to mutation of OpenSSL::SSL::SSLContext::DEFAULT_PARAMS in the LDAP authentication code. The issue does not affect sidekiq background jobs. The vulnerability is fixed in versions 4.4.19 and 4.5.12.
References
- github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149 (opens in a new tab)
- github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef (opens in a new tab)
- github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4 (opens in a new tab)
- github.com/mastodon/mastodon/pull/39571 (opens in a new tab)
- github.com/mastodon/mastodon/releases/tag/v4.4.19 (opens in a new tab)
- github.com/mastodon/mastodon/releases/tag/v4.5.12 (opens in a new tab)
- github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-59825 (opens in a new tab)