CVE-2025-9079

8.0

Mattermost · Mattermost

Mattermost fails to validate import directory path configurations, allowing administrative users to achieve remote code execution via malicious plugin uploads.

Executive summary

A path traversal vulnerability in Mattermost allows authenticated administrative users to execute arbitrary code on the host system.

Vulnerability

This vulnerability is a path traversal flaw, identified as CWE-22, occurring during the validation of import directory path configurations. An attacker with administrative privileges can exploit this to upload malicious plugins to restricted directories, resulting in arbitrary code execution.

Business impact

The ability for an administrative user to execute arbitrary code represents a total compromise of the application server. Given the CVSS score of 8.0, this vulnerability poses a high risk to organizational data integrity and system availability. Successful exploitation could lead to full unauthorized control over the Mattermost environment, potentially facilitating lateral movement or deeper access into the internal network.

Remediation

Immediate Action: Update the Mattermost server to version 10.11.0, 10.8.4, 10.5.9, 9.11.18, 10.10.2, or 10.9.4 immediately to patch the validation logic.

Proactive Monitoring: Audit administrative access logs for unusual plugin uploads or modifications to system directories that deviate from established operational baselines.

Compensating Controls: Restrict administrative access to the platform by enforcing multi-factor authentication and auditing the accounts permitted to upload plugins.

Exploitation status

Public Exploit Available: Unknown.

Analyst recommendation

The risk associated with this vulnerability is significant due to the potential for complete system compromise. IT administrators should prioritize the deployment of the provided security updates across all affected instances of Mattermost. Ensuring that administrative access is strictly managed and audited will provide additional defense against potential misuse of these elevated privileges.

More Mattermost CVEs

Sources

Originally found and disclosed by daw10, per the CVE Program record.