{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.9.0"
              },
              {
                "fixed": "1.14.6"
              }
            ]
          },
          "events": [
            {
              "introduced": "f1c4d938cee68c8976393a566a10e21b4098f536"
            },
            {
              "fixed": "a69d8295933c54cf98f55842d0a60b7cc1f1bc3e"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.1.0"
              },
              {
                "fixed": "2.2.11"
              }
            ]
          },
          "events": [
            {
              "introduced": "9eb32f249939ca5783c109a13ccb0d3a261744cb"
            },
            {
              "fixed": "341688b4ce07d3ac0823899ede403ca12e52f94a"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.1.0"
              },
              {
                "fixed": "3.6.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2766ae05a7f3a82977f04414c3150dafd9eafa9c"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "1.15.0"
              },
              {
                "fixed": "1.15.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "778e748e37109149f8168a6cbbd1c3366594ff1b"
            },
            {
              "fixed": "8480cb6b26bce880d0706dc62e9feaf9f68df2b7"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "3.7.0"
              },
              {
                "fixed": "3.7.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "d12ce32074a72e61723e9e56793ba4d0d3e41981"
            },
            {
              "fixed": "ec37b464ab9b22d0c882bb6646772c20210c6327"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vmhx-hwph-q6mc"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52508.json"
  },
  "details": "Nextcloud Mail is the mail app for Nextcloud, a self-hosted productivity platform. When a user is trying to set up a mail account with an email address like user@example.tld that does not support auto configuration, and an attacker managed to register autoconfig.tld, the used email details would be send to the server of the attacker. It is recommended that the Nextcloud Mail app is upgraded to 1.14.6, 1.15.4, 2.2.11, 3.6.3, 3.7.7 or 4.0.0.",
  "id": "CVE-2024-52508",
  "modified": "2026-04-01T23:09:57.841786726Z",
  "published": "2024-11-15T17:34:21.900Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/2508422"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52508.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-vmhx-hwph-q6mc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52508"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/mail/commit/a84c70e15d814dab6f0e8eda71bbaaf48152079b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/mail/pull/9964"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Nextcloud Mail auto configurator can be tricked into sending account information to wrong servers"
}