{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:mattermost:mattermost_server:11.4.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "10.11.0"
              },
              {
                "fixed": "10.11.11"
              },
              {
                "introduced": "11.2.0"
              },
              {
                "fixed": "11.2.3"
              },
              {
                "introduced": "11.3.0"
              },
              {
                "fixed": "11.3.2"
              },
              {
                "introduced": "11.4.0"
              },
              {
                "last_affected": "11.4.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING"
            ]
          },
          "events": [
            {
              "introduced": "5b955468ea1ea8b56c0fb10feb258a36a767d7bb"
            },
            {
              "fixed": "fddd4a70bcb32eaff394a2fa5399efcd1b2ae251"
            },
            {
              "introduced": "ab7b138824c61fe1fe815243d7e2a914dec49c8b"
            },
            {
              "fixed": "005521aa79666e6960bc3302f6172b810f6bff3a"
            },
            {
              "introduced": "d27a2195068ddfa3ce17cf470f9739e4edb94b83"
            },
            {
              "fixed": "b7d4a1f1f59b645a7598181d33cfc537ea9a6c9c"
            },
            {
              "introduced": "2a1ac98bd3fae587927adf9340ba266c8c02018e"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ],
      "versions": [
        "11.4.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-150"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3108.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "11.2.0"
          },
          {
            "last_affected": "11.2.2"
          },
          {
            "introduced": "10.11.0"
          },
          {
            "last_affected": "10.11.10"
          },
          {
            "introduced": "11.4.0"
          },
          {
            "last_affected": "11.4.0"
          },
          {
            "introduced": "11.3.0"
          },
          {
            "last_affected": "11.3.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Mattermost versions 11.2.x \u003c= 11.2.2, 10.11.x \u003c= 10.11.10, 11.4.x \u003c= 11.4.0, 11.3.x \u003c= 11.3.1 fail to sanitize user-controlled post content in the mmctl commands terminal output which allows attackers to manipulate administrator terminals via crafted messages containing ANSI and OSC escape sequences that enable screen manipulation, fake prompts, and clipboard hijacking.. Mattermost Advisory ID: MMSA-2026-00599",
  "id": "CVE-2026-3108",
  "modified": "2026-07-08T05:37:18.758309886Z",
  "published": "2026-03-26T16:16:49.790Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3108.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3108"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Terminal Escape Injection in mmctl Report Posts Command"
}