{"id":"CVE-2026-59825","state":"PUBLISHED","title":"Mastodon: Unwanted deactivation of SSL/TLS certificate verification","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.","publishedAt":"2026-08-18T15:07:14.555Z","updatedAt":"2026-08-18T15:51:15.337Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mastodon mastodon"],"affected":[{"vendor":"mastodon","product":"mastodon","versions":[{"version":"< 4.4.19","status":"affected"},{"version":">= 4.5.0, < 4.5.12","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-295"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59825.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59825","state":"PUBLISHED","datePublished":"2026-08-18T15:07:14.555Z","dateUpdated":"2026-08-18T15:51:15.337Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T15:00:50.978Z"},"containers":{"cna":{"title":"Mastodon: Unwanted deactivation of SSL/TLS certificate verification","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mastodon","product":"mastodon","versions":[{"version":"< 4.4.19","status":"affected"},{"version":">= 4.5.0, < 4.5.12","status":"affected"}]}],"references":[{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86","name":"https://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/mastodon/mastodon/pull/39571","name":"https://github.com/mastodon/mastodon/pull/39571","tags":["x_refsource_MISC"]},{"url":"https://github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149","name":"https://github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149","tags":["x_refsource_MISC"]},{"url":"https://github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef","name":"https://github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef","tags":["x_refsource_MISC"]},{"url":"https://github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4","name":"https://github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4","tags":["x_refsource_MISC"]},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.4.19","name":"https://github.com/mastodon/mastodon/releases/tag/v4.4.19","tags":["x_refsource_MISC"]},{"url":"https://github.com/mastodon/mastodon/releases/tag/v4.5.12","name":"https://github.com/mastodon/mastodon/releases/tag/v4.5.12","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","lang":"en","description":"CWE-295: Improper Certificate Validation","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-18T15:07:14.555Z"},"source":{"advisory":"GHSA-3rhr-8phh-jm86","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T15:51:09.488217Z","id":"CVE-2026-59825","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T15:51:15.337Z"}}]}}}