{
  "id": "CVE-2026-59825",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59825",
  "published_at": "2026-08-18T15:07:14.555Z",
  "title": "Mastodon: Unwanted deactivation of SSL/TLS certificate verification",
  "vendor": "mastodon",
  "product": "mastodon",
  "cvss": {
    "score": 7.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-295",
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "mastodon",
        "product": "mastodon",
        "ranges": [
          "\u003c 4.4.19",
          "\u003e= 4.5.0, \u003c 4.5.12"
        ],
        "fixed_in": [
          "4.4.19",
          "4.5.12"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mastodon to 4.4.19 or 4.5.12 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/mastodon/mastodon/security/advisories/GHSA-3rhr-8phh-jm86"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mastodon/mastodon/pull/39571"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mastodon/mastodon/commit/2ccb6ef277e725d1932295690cf8ab9d3dc03149"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mastodon/mastodon/commit/5748d0b16ea09001e0933f76c7afe814e09652ef"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/mastodon/mastodon/commit/761c61b42590a2fd91442fc15a0a7583e48bbea4"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mastodon/mastodon/releases/tag/v4.4.19"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/mastodon/mastodon/releases/tag/v4.5.12"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
