Mastodon: Unwanted deactivation of SSL/TLS certificate verification
Summary
| CVE | CVE-2026-59825 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-18 15:16:55 UTC |
| Updated | 2026-08-18 16:18:11 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.4 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Problem Types: CWE-295 | CWE-295 CWE-295: Improper Certificate Validation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 7.4 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/mastodon/mastodon/releases/tag/v4.4.19 | [email protected] | github.com | |
| github.com/mastodon/mastodon/pull/39571 | [email protected] | github.com | |
| github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc0... | [email protected] | github.com | |
| github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e096... | [email protected] | github.com | |
| github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86 | [email protected] | github.com | |
| github.com/mastodon/mastodon/releases/tag/v4.5.12 | [email protected] | github.com | |
| github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48b... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.