CVE-2023-45316 Reflected client side path traversal leading to CSRF in Playbooks
Attackers can exploit path traversal in the Playbooks telemetry API to trigger CSRF attacks against Mattermost users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-45316?
CVE-2023-45316 is a high-severity path traversal vulnerability in Mattermost Mattermost Server, published on 12 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Mattermost fails to validate if a relative path is passed in /plugins/playbooks/api/v0/telemetry/run/<telem_run_id> as a telemetry run ID, allowing an attacker to use a path traversal payload that points to a different endpoint leading to a CSRF attack.
Which versions are affected by CVE-2023-45316?
1 open source package ship an affected version, including mattermost. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mattermost Bitnami | All versions | 7.8.15, 8.1.6, 9.0.4, 9.1.3, 9.2.2 |
Products include Mattermost Mattermost Server.
How do I fix CVE-2023-45316?
Upgrade mattermost to a fixed version for your release line: 7.8.15, 8.1.6, 9.0.4 or 9.1.3.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-45316 being exploited?
There is no known exploitation of CVE-2023-45316 in the wild and no public exploit code.
Other vulnerabilities in Mattermost Mattermost Server
- CVE-2025-12419 Account takeover on OAuth/OpenID-enabled servers
- CVE-2025-12421 Account Takeover via Code Exchange Endpoint
- CVE-2025-4981 Path Traversal Leading to RCE by Any Authenticated Mattermost User
- CVE-2025-20051 Arbitrary file read via block duplication in Mattermost Boards
- CVE-2025-25279 Arbitrary file read in Mattermost Boards via import & export board archive
Sources
Also known as BIT-mattermost-2023-45316, GHSA-2pgg-h82p-8cpr.