{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.9.5"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.9.5"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "11434a58dd79fccb02de18cead5b37dfe0c6e871"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "11434a58dd79fccb02de18cead5b37dfe0c6e871"
            }
          ],
          "repo": "https://github.com/nextcloud/mail",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "Nextcloud Mail before 1.9.5 suffers from improper access control due to a missing permission check allowing other authenticated users to create mail aliases for other users.",
  "id": "CVE-2021-22896",
  "modified": "2026-04-01T23:10:40.158643090Z",
  "published": "2021-06-11T16:15:10.887Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/mail/releases/tag/v1.9.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jmgp-77jq-fjp3"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackerone.com/reports/1129996"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nextcloud/mail/pull/4864"
    }
  ],
  "related": [
    "GHSA-jmgp-77jq-fjp3"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}