CVE-2026-16585 Better Messages <= 2.15.19 - Authenticated (Administrator+) Arbitrary File Deletion via Path Traversal via 'file' Parameter
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHPWordPress
Description
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 delete_sticker 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 normalize_sticker function only applies esc_url_raw(), which does not strip ../ sequences, allowing the traversal payload to be stored verbatim in WordPress options.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| wordplus Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots | <= 2.15.19 | after 2.15.19 | Fixed |
| wordpress bp-better-messages(WordPress) | < 2.15.20 | 2.15.20 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wordplus Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots | <= 2.15.19 | No fix listed |
| wordpress bp-better-messages(WordPress) | < 2.15.20 | 2.15.20 |