CVE-2026-16585: Better Messages <= 2.15.19 - Authenticated (Administrator+) Arbitrary File Deletion via Path Traversal via 'file' Parameter
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the deletesticker function in all versions up to, and including, 2.15.19. This makes it possible for authenticated attackers, with administrator-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). The prefix check intended to restrict deletion to the uploads directory can be bypassed by crafting a URL that begins with the legitimate uploads base URL but embeds ../ traversal sequences in the path portion, as the normalizesticker function only applies escurlraw(), which does not strip ../ sequences, allowing the traversal payload to be stored verbatim in WordPress options.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPressto a version that resolves this vulnerability.Fixed in 2.15.19
Event History
Frequently Asked Questions
What is the severity of CVE-2026-16585?
The severity of CVE-2026-16585 is rated as high with a score of 7.2.
How do I fix CVE-2026-16585?
To fix CVE-2026-16585, upgrade the Better Messages WordPress plugin to version 2.15.20 or later.
What type of attack does CVE-2026-16585 enable?
CVE-2026-16585 enables an authenticated administrator to perform arbitrary file deletion via path traversal.
Who is affected by CVE-2026-16585?
CVE-2026-16585 affects users of the Better Messages plugin for WordPress versions up to and including 2.15.19.
What is the nature of the vulnerability in CVE-2026-16585?
The vulnerability in CVE-2026-16585 arises from insufficient file path validation in the delete_sticker function.