CVE-2026-59825mastodon Improper Certificate Validation
NVDCVSS scored by security-advisories@github.com
Vulnerability 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.
CVSS v3.1 Base Metrics — Score 7.4 (HIGH)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- mastodon < 4.4.19
- mastodon >= 4.5.0, < 4.5.12
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run mastodon and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Aug 18, 2026Published
- Aug 18, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new mastodon CVEsYou are reading CVE-2026-59825. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149
- Patchhttps://github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef
- Patchhttps://github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4
- Patchhttps://github.com/mastodon/mastodon/pull/39571
- Referencehttps://github.com/mastodon/mastodon/releases/tag/v4.4.19
- Referencehttps://github.com/mastodon/mastodon/releases/tag/v4.5.12
- Vendor Advisoryhttps://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86
Data last checked: Nov 25, 2026 03:27 UTC