{
  "id": "CVE-2025-25279",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-25279",
  "published_at": "2025-02-24T07:25:26.792Z",
  "title": "Arbitrary file read in Mattermost Boards via import \u0026 export board archive",
  "vendor": "Mattermost",
  "product": "Mattermost",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-02-24T19:03:17Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.5,
    "repo": "numanturle/CVE-2025-25279",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mattermost versions 10.4.x \u003c= 10.4.1, 9.11.x \u003c= 9.11.7, 10.3.x \u003c= 10.3.2, 10.2.x \u003c= 10.2.2 fail to properly validate board blocks when importing boards which allows an attacker could read any arbitrary file on the system via importing and exporting a specially crafted import archive in Boards.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9,
    "nvd": 7.5
  },
  "repos": [
    {
      "repo": "numanturle/CVE-2025-25279",
      "url": "https://github.com/numanturle/CVE-2025-25279",
      "created_at": "2025-02-24T19:03:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-03-20T06:53:05Z"
    },
    {
      "repo": "AbokorMAHAMMADMOUSSE/CVE-2025-25279-Mattermost-Path-Traversal",
      "url": "https://github.com/AbokorMAHAMMADMOUSSE/CVE-2025-25279-Mattermost-Path-Traversal",
      "created_at": "2026-04-24T14:36:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-04-24T14:24:26Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Mattermost",
        "product": "Mattermost",
        "ranges": [
          "\u003e= 10.4.0, \u003c= 10.4.1",
          "\u003e= 9.11.0, \u003c= 9.11.7",
          "\u003e= 10.3.0, \u003c= 10.3.2",
          "\u003e= 10.2.0, \u003c= 10.2.2"
        ],
        "fixed_in": [
          "10.5.0",
          "10.4.2",
          "9.11.8",
          "10.3.3",
          "10.2.3"
        ]
      }
    ],
    "solutions": [
      "Update Mattermost to versions 10.5.0, 10.4.2, 9.11.8, 10.3.3, 10.2.3 or higher. Alternatively, update the Mattermost Boards plugin to v9.0.5 or higher."
    ],
    "upgrade": [
      "Upgrade Mattermost to 10.5.0 or 10.4.2 or 9.11.8 or 10.3.3 or 10.2.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.9"
        },
        {
          "name": "Authorization",
          "value": ""
        },
        {
          "name": "Origin",
          "value": "http://localhost:8065"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "body_markers": [
        "\"id\":\"7gni7t3q3gj6unkq49mpb3xzdre\"",
        "\"schema\"",
        "\"boardId\":\"bqgcxem5wo3ncfxkbfn5rkawxcr\"",
        "\"parentId\":\"crc1qdykm1pg4mbfpct45qnyorw\"",
        "\"createdBy\"",
        "\"modifiedBy\"",
        "\"type\":\"attachment\"",
        "\"fields\"",
        "\"fileId\":\"../../../../../../../mattermost/config/config.json\"",
        "\"title\":\"CVE-2025-25279.txt\"",
        "\"createAt\"",
        "\"updateAt\"",
        "\"deleteAt\"",
        "\"limited\"",
        "\"isUploading\"",
        "\"uploadingPercent\""
      ],
      "content_type": "application/json",
      "ports": [
        8065
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "numanturle/CVE-2025-25279"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "numanturle/CVE-2025-25279/readme.md:25"
      ]
    },
    {
      "method": "POST",
      "path_template": "/plugins/focalboard/api/v2/boards/bqgcxem5wo3ncfxkbfn5rkawxcr/blocks/crc1qdykm1pg4mbfpct45qnyorw/duplicate",
      "query_markers": [
        "asTemplate=false"
      ],
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        },
        {
          "name": "Accept-Language",
          "value": "en-US,en;q=0.9"
        },
        {
          "name": "Authorization",
          "value": ""
        },
        {
          "name": "Origin",
          "value": "http://localhost:8065"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "content_type": "application/json",
      "ports": [
        8065
      ],
      "user_agents": [
        "Mozilla/5.0"
      ],
      "protocol": "http",
      "repos": [
        "numanturle/CVE-2025-25279"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "numanturle/CVE-2025-25279/readme.md:41"
      ]
    }
  ],
  "rules": []
}
