{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.6.0"
              },
              {
                "fixed": "1.6.18"
              },
              {
                "introduced": "1.7.0"
              },
              {
                "fixed": "1.7.3"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "993b888afe29c383bf45c84f17090f4db96367ba"
            },
            {
              "fixed": "4a2bb87d9ea93578acb9bb03599abf754c33a33f"
            },
            {
              "introduced": "df9effa186f81d676962b941da4ebab5e05c3088"
            },
            {
              "fixed": "8473c30fd06f1aa4cfe4304ec54f54aef3b45abe"
            }
          ],
          "repo": "https://github.com/roundcube/roundcubemail",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74997.json"
  },
  "details": "In Roundcube Webmail before 1.6.18 and 1.7.x before 1.7.3, the cmd_learn driver of the markasjunk plugin is subject to remote code execution via crafted placeholder replacement values. This issue only affects Roundcube instances using the markasjunk plugin with its cmd_learn driver.",
  "id": "CVE-2026-74997",
  "modified": "2026-08-19T03:31:02.279699936Z",
  "published": "2026-08-17T12:37:45.126Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.6.18"
    },
    {
      "type": "WEB",
      "url": "https://github.com/roundcube/roundcubemail/releases/tag/1.7.3"
    },
    {
      "type": "WEB",
      "url": "https://roundcube.net/news/2026/08/09/security-updates-1.6.18-and-1.7.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74997.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74997"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/14044f843cfacbe78b042f659e379d6b4497aa7c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/495d211638f222336b20f4744545c53712426c2a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/roundcube/roundcubemail/commit/b8f90e28a46d42e79a69568cba897f8f4223d9cd"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}