Vulnerability in Mastodon

CVE-2026-59825

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.

Vulnerability class: Improper Certificate Validation

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.

Affected products

  • Mastodon — versions < 4.4.19, >= 4.5.0, < 4.5.12

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-59825?
CVE-2026-59825 is a high-severity vulnerability in Mastodon, classified under Improper Certificate Validation. CVSS score: 7.4/10. Published 2026-08-18.
How severe is CVE-2026-59825?
High severity. CVSS v3 base score is 7.4 out of 10.