Original description
Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.4.19 and from 4.5.0 until 4.5.12, Mastodon's app/models/concerns/user/ldap_authenticable.rb mutates OpenSSL::SSL::SSLContext::DEFAULT_PARAMS when LDAP authentication uses LDAP_TLS_NO_VERIFY=true, disabling SSL and TLS certificate verification globally for requests made by puma web processes while sidekiq background jobs remain unaffected. This issue is fixed in versions 4.4.19 and 4.5.12.
Affected software
- Mastodon * repository or package match
Details
- Published
- 2026-08-19
- Last modified
- 2026-08-19
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N- CWE
- CWE-295
- EPSS (30-day exploit probability)
- 0.37% (percentile 32)
References
- cve.org/CVE-2026-59825
- nvd.nist.gov/vuln/detail/CVE-2026-59825
- github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86
- github.com/mastodon/mastodon/pull/39571
- github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149
- github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef
- github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4
- github.com/mastodon/mastodon/releases/tag/v4.4.19
- github.com/mastodon/mastodon/releases/tag/v4.5.12
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.