Mastodon: Unwanted deactivation of SSL/TLS certificate verification
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-295.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA mastodon (mastodon) Fixed in 4.4.19, 4.5.12
Timeline
- 2026-10-02 Threatist record created from CVE-2026-59825
References
Other 7
- https://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86
- https://github.com/mastodon/mastodon/pull/39571
- 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/releases/tag/v4.4.19
- https://github.com/mastodon/mastodon/releases/tag/v4.5.12
More mastodon vulnerabilities
- TI-2022-02004 Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon CVSS 3.1CRITICAL 9.8
- TI-2025-34613 Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails CVSS 3.1HIGH 7.5
- TI-2022-22936 Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull… CVSS 3.1HIGH 7.5
- TI-2023-18301 Mastodon vulnerable to arbitrary file creation through media attachments CVSS 3.1CRITICAL 10.0
- TI-2023-13359 Mastodon's blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database CVSS 3.1HIGH 7.7
- TI-2024-16846 External OpenID Connect Account Takeover by E-Mail Change in mastodon CVSS 3.1HIGH 7.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences