{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-49222","id":"CVE-2025-49222","title":"Mattermost Shared Channel Upload Type Validation Bypass","description":"Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2, 10.10.x <= 10.10.0 fail to validate upload types in remote cluster upload sessions which allows a system admin to upload non-attachment file types via shared channels that could potentially be placed in arbitrary filesystem directories.","descriptionLong":"Mattermost versions 10.8.x <= 10.8.3, 10.5.x <= 10.5.8, 9.11.x <= 9.11.17, 10.9.x <= 10.9.2, 10.10.x <= 10.10.0 fail to validate upload types in remote cluster upload sessions which allows a system admin to upload non-attachment file types via shared channels that could potentially be placed in arbitrary filesystem directories.","published":"2025-08-21T07:59:45.057Z","updated":"2026-11-14T02:45:26.673643211Z","reserved":"2025-07-22T07:46:53.179Z","status":"Analyzed","rejected":false,"assigner":"Mattermost","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"Mattermost"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"Mattermost"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"mattermost.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Mattermost"],"affectedProducts":[{"vendor":"Mattermost","product":"Mattermost","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"10.8.3","status":"affected","version":"10.8.0","versionType":"semver"},{"lessThanOrEqual":"10.5.8","status":"affected","version":"10.5.0","versionType":"semver"},{"lessThanOrEqual":"9.11.17","status":"affected","version":"9.11.0","versionType":"semver"},{"lessThanOrEqual":"10.9.2","status":"affected","version":"10.9.0","versionType":"semver"},{"lessThanOrEqual":"10.10.0","status":"affected","version":"10.10.0","versionType":"semver"},{"version":"10.11.0","status":"unaffected"},{"version":"10.8.4","status":"unaffected"},{"version":"10.5.9","status":"unaffected"},{"version":"9.11.18","status":"unaffected"},{"version":"10.9.3","status":"unaffected"},{"version":"10.10.1","status":"unaffected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server","purl":"pkg:golang/github.com/mattermost/mattermost-server","ranges":[">=10.8.0 <10.8.4",">=10.5.0 <10.5.9",">=9.11.0 <9.11.18",">=10.9.0 <10.9.3",">=10.10.0 <10.10.1",">=9.11.0+incompatible <9.11.18+incompatible",">=10.5.0+incompatible <10.5.9+incompatible",">=10.8.0+incompatible <10.8.4+incompatible",">=10.9.0+incompatible <10.9.3+incompatible",">=10.10.0+incompatible <10.10.1+incompatible"],"fixed":["10.8.4","10.5.9","9.11.18","10.9.3","10.10.1","9.11.18+incompatible","10.5.9+incompatible","10.8.4+incompatible","10.9.3+incompatible","10.10.1+incompatible"],"advisory":"GHSA-q453-638c-h4mr"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost/server/v8","purl":"pkg:golang/github.com/mattermost/mattermost/server/v8","ranges":["<8.0.0-20250708173752-d6b35c41f0ae5","all versions"],"fixed":["8.0.0-20250708173752-d6b35c41f0ae5"],"advisory":"GHSA-q453-638c-h4mr"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v5","purl":"pkg:golang/github.com/mattermost/mattermost-server/v5","ranges":["<=5.39.3","all versions"],"fixed":[],"advisory":"GHSA-q453-638c-h4mr"},{"ecosystem":"Go","name":"github.com/mattermost/mattermost-server/v6","purl":"pkg:golang/github.com/mattermost/mattermost-server/v6","ranges":["<=5.7.2","all versions"],"fixed":[],"advisory":"GHSA-q453-638c-h4mr"}],"cwes":["CWE-434"],"aliases":["GHSA-q453-638c-h4mr","GO-2025-3904"],"references":[{"url":"https://mattermost.com/security-updates","tags":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49222.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49222","tags":["advisory"]},{"url":"https://github.com/mattermost/mattermost","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3904","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q453-638c-h4mr","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00329,"epssPercentile":0.2657,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-49222","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49222","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-49222","ok":true,"note":"4 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-q453-638c-h4mr","ok":true,"note":"GHSA-q453-638c-h4mr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49222","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["chrome"],"critical":[],"attention":null}