{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.6.19"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "1.7.0"
                  },
                  {
                    "fixed": "1.7.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "19ba077a859b590bd886b437a6c8a3fdd8aa3952"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "785aff0f362545466313ba975fcbc5fc272ea917"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "1.6.19",
                "range": [
                  {
                    "fixed": "29beae7282135a3cd59a3945bd33ee8f904d6217"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "1.7.4",
                "range": [
                  {
                    "fixed": "0d05c37a6e565b1ff0f3a4472081f20a64d569a1"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "29beae7282135a3cd59a3945bd33ee8f904d6217"
            },
            {
              "introduced": "df9effa186f81d676962b941da4ebab5e05c3088"
            },
            {
              "fixed": "0d05c37a6e565b1ff0f3a4472081f20a64d569a1"
            },
            {
              "fixed": "19ba077a859b590bd886b437a6c8a3fdd8aa3952"
            },
            {
              "fixed": "785aff0f362545466313ba975fcbc5fc272ea917"
            }
          ],
          "repo": "https://github.com/roundcube/roundcubemail",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "AISLE",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137942.json"
  },
  "details": "Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains an authorization bypass in add_to_group() and remove_from_group() in program/lib/Roundcube/rcube_contacts.php, which did not verify that the contact group and the contacts belong to the current user. An authenticated user of the SQL address book can supply other users' group and contact identifiers to add contacts to or remove them from other users' contact groups, or to add other users' contacts to their own groups.",
  "id": "CVE-2026-137942",
  "modified": "2026-11-27T14:45:59.749004450Z",
  "published": "2026-11-27T13:45:14.173Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137942.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/roundcube/roundcubemail"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/19ba077a859b590bd886b437a6c8a3fdd8aa3952"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/785aff0f362545466313ba975fcbc5fc272ea917"
    },
    {
      "type": "WEB",
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.19"
    },
    {
      "type": "WEB",
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.7.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137942"
    },
    {
      "type": "WEB",
      "url": "https://roundcube.net/news/2026/09/06/security-updates-1.6.19-and-1.7.4"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 Cross-User Contact Group Membership Access"
}