{"id":"CVE-2025-2475","published":"2025-04-14T14:49:36Z","modified":"2025-04-14T14:59:27Z","title":"Unauthorized Bot Login Using Credentials","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 10.5.x <= 10.5.1, 10.4.x <= 10.4.3, 9.11.x <= 9.11.9 fail to invalidate the cache when a user account is converted to a bot which allows an attacker to login to the bot exactly one time via normal credentials.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00237,"percentile":0.15012,"provenance":"source"},"cwes":[{"id":"CWE-303","name":"Incorrect Implementation of Authentication Algorithm"}],"references":[{"url":"https://mattermost.com/security-updates","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":3.0},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 10.5.0, <= 10.5.1",">= 10.4.0, <= 10.4.3",">= 9.11.0, <= 9.11.9"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["10.6.0","10.5.2","10.4.4","9.11.10"]}],"solutions":{"items":["Update Mattermost to versions 10.6.0, 10.5.2, 10.4.4, 9.11.10 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-14T14:59:10.451579Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=10.5.0, <10.5.2",">=9.11.0, <9.11.10","<8.0.0-20250220161544-fd356b62b4dd"],"patched":["10.5.2","9.11.10","8.0.0-20250220161544-fd356b62b4dd"],"from":["GHSA-6rqh-8465-2xcw","GO-2025-3610"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=9.11.0+incompatible, <9.11.10+incompatible",">=10.5.0+incompatible, <10.5.2+incompatible"],"patched":["9.11.10+incompatible","10.5.2+incompatible"],"from":["GO-2025-3610"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3610"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3610"],"provenance":"source"}],"summary":{"text":"Mattermost's core product has a flaw in its authentication handling: it fails to invalidate the cache when a user account is converted into a bot account. An attacker with low privileges and network access can log in to the resulting bot once using the account's normal credentials, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:46Z"},"euvd":{"id":"EUVD-2025-10887","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2025-1412","parents":[{"from":"CVE-2025-1412","to":"CVE-2025-2475","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/app/bot.go"],"commits":["https://github.com/mattermost/mattermost/commit/faa7e4f2ea0cca2fd2aba271912b9fc3be788842","https://github.com/mattermost/mattermost/commit/124547a9ef424431e1e6cf09bdba6c1099d415de","https://github.com/mattermost/mattermost/commit/40fd60714bd055e00c16301ba6dc0fddfc44e15e"],"basis":"shared function","functions":["ConvertUserToBot"]}]}],"packageHistory":[{"cve":"CVE-2025-27933","published":"2025-03-21","fixed":"10.4.3","kev":false,"link":{"from":"CVE-2025-27933","to":"CVE-2025-2475","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250218135018-e644e3c8e393","toFixed":"8.0.0-20250220161544-fd356b62b4dd","daysApart":24}]}},{"cve":"CVE-2025-41395","published":"2025-04-24","fixed":"10.5.1","kev":false},{"cve":"CVE-2025-41423","published":"2025-04-24","fixed":"10.5.1","kev":false},{"cve":"CVE-2025-2424","published":"2025-04-14","fixed":"10.5.2","kev":false},{"cve":"CVE-2025-2475","published":"2025-04-14","fixed":"10.5.2","kev":false},{"cve":"CVE-2025-24839","published":"2025-04-16","fixed":"10.5.2","kev":false},{"cve":"CVE-2025-2564","published":"2025-04-16","fixed":"10.5.2","kev":false},{"cve":"CVE-2025-27538","published":"2025-04-16","fixed":"10.5.2","kev":false},{"cve":"CVE-2025-32093","published":"2025-04-14","fixed":"10.5.2","kev":false,"link":{"from":"CVE-2025-2475","to":"CVE-2025-32093","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20250220161544-fd356b62b4dd","toFixed":"8.0.0-20250227102013-aa4623a93199","daysApart":0}]}}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}