CVE-2026-59825
published high CVSS 3.1 · 7.4Mastodon: Unwanted deactivation of SSL/TLS certificate verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mastodon | — | mastodon< 4.4.19 · >= 4.5.0, < 4.5.12 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mastodon | mastodon | < 4.4.19 (affected)>= 4.5.0, < 4.5.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
7- https://github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149
- https://github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef
- https://github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4
- https://github.com/mastodon/mastodon/pull/39571
- https://github.com/mastodon/mastodon/releases/tag/v4.4.19
- https://github.com/mastodon/mastodon/releases/tag/v4.5.12
- https://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86
Provider assertions
2GitHub_M · cna
Mastodon: Unwanted deactivation of SSL/TLS certificate verification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5f3df8ee4b6a914d5ba78d3e71061612a6cd54ab07f4a56df0fdb28c24b162ae
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record