Mastodon: Unwanted deactivation of SSL/TLS certificate verification
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-59825
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 03:51 UTC · Revision 1
Source evidence
Mastodon: Unwanted deactivation of SSL/TLS certificate verification
core-osv · Original sourcePublished 18 Aug 2026, 15:07 UTC
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.
osv:CVE-2026-59825
Complete source record
{
"id": "df070902639936edac29d96160a315b2dc93b0334db3b57ec9fd67bcf1430818",
"url": "https://osv.dev/vulnerability/CVE-2026-59825",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Mastodon: Unwanted deactivation of SSL/TLS certificate verification",
"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.",
"evidence": "osv:CVE-2026-59825",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-59825",
"aliases": [
"BIT-mastodon-2026-59825",
"CVE-2026-59825",
"GHSA-3rhr-8phh-jm86"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mastodon/mastodon",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f3b07a5c9b2e5867070e25af87c97f026813f6f7"
},
{
"introduced": "26c78392f88afccebb8a88b68bc9994a9ce12648"
},
{
"fixed": "52a9658521eb41b6b30b7feca58f1deddc58659c"
},
{
"fixed": "2ccb6ef277e725d1932295690cf8ab9d3dc03149"
},
{
"fixed": "5748d0b16ea09001e0933f76c7afe814e09652ef"
},
{
"fixed": "761c61b42590a2fd91442fc15a0a7583e48bbea4"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.4.19"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "4.5.0"
},
{
"fixed": "4.5.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "2ccb6ef277e725d1932295690cf8ab9d3dc03149"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "5748d0b16ea09001e0933f76c7afe814e09652ef"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "761c61b42590a2fd91442fc15a0a7583e48bbea4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f3b07a5c9b2e5867070e25af87c97f026813f6f7"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.4.19"
},
{
"range": [
{
"fixed": "52a9658521eb41b6b30b7feca58f1deddc58659c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.5.12"
}
]
}
}
],
"versions": [
"v4.6.0-rc.1",
"v4.6.0-beta.1",
"v4.5.11",
"v4.4.18",
"v4.4.17",
"v4.5.10",
"v4.4.16",
"v4.5.9",
"v4.4.15",
"v4.5.8",
"v4.4.14",
"v4.5.7",
"v4.5.6",
"v4.4.13",
"v4.4.12",
"v4.5.5",
"v4.5.4",
"v4.4.11",
"v4.5.3",
"v4.4.10",
"v4.5.2",
"v4.4.9",
"v4.5.1",
"v4.5.0",
"v4.4.8",
"v4.5.0-rc.1",
"v4.5.0-beta.2",
"v4.4.7",
"v4.5.0-beta.1",
"v4.4.6",
"v4.4.5",
"v4.4.4",
"v4.4.3",
"v4.4.2",
"v4.4.1",
"v4.4.0",
"v4.4.0-rc.1",
"v4.4.0-beta.2",
"v4.4.0-beta.1",
"v4.3.0-rc.1",
"v4.3.0-beta.2",
"v4.3.0-beta.1",
"v4.2.0",
"v4.2.0-rc2",
"v4.2.0-rc1",
"v4.2.0-beta3",
"v4.2.0-beta2",
"v4.2.0-beta1",
"v4.0.2",
"v4.1.0",
"v4.1.0rc3",
"v4.1.0rc2",
"v4.1.0rc1",
"v4.0.1",
"v4.0.0",
"v4.0.0rc4",
"v3.5.3",
"v4.0.0rc3",
"v4.0.0rc2",
"v4.0.0rc1",
"v3.5.2",
"v3.5.1",
"v3.5.0",
"v3.5.0rc3",
"v3.5.0rc2",
"v3.5.0rc1",
"v3.3.0",
"v3.4.1",
"v3.4.0",
"v3.4.0rc2",
"v3.4.0rc1",
"v3.3.0rc3",
"v3.3.0rc2",
"v3.3.0rc1",
"v3.2.0",
"v3.2.0rc2",
"v3.2.0rc1",
"v3.1.4",
"v3.1.3",
"v3.1.2",
"v3.0.1",
"v3.1.1",
"v3.1.0",
"v3.1.0rc2",
"v3.1.0rc1",
"v3.0.0",
"v3.0.0rc3",
"v3.0.0rc2",
"v3.0.0rc1",
"v2.9.2",
"v2.9.1",
"v2.9.0",
"v2.9.0rc2",
"v2.9.0rc1",
"v2.8.2",
"v2.8.1",
"v2.8.0",
"v2.8.0rc3",
"v2.8.0rc2",
"v2.8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1.2.1",
"v1.2",
"v1.1.2",
"v1.1.1",
"v1.1",
"v1.0",
"v0.9.9",
"v0.9",
"v0.8",
"v0.7",
"v0.6",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59825.json"
}
}
],
"modified": "2026-10-28T02:30:42.445418873Z",
"provider": "osv",
"references": [
"https://github.com/mastodon/mastodon/releases/tag/v4.4.19",
"https://github.com/mastodon/mastodon/releases/tag/v4.5.12",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59825.json",
"https://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86",
"https://nvd.nist.gov/vuln/detail/CVE-2026-59825",
"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/pull/39571"
],
"provider_metadata": {
"cwe_ids": [
"CWE-295"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59825.json"
}
},
"related_cves": [
{
"value": "CVE-2026-59825",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509984,
"published_at": "2026-08-18T15:07:14.555+00:00"
}