CVE-2026-16585: Better Messages <= 2.15.19 - Authenticated (Administrator+) Arbitrary File Deletion via Path Traversal via 'file' Parameter

Published Jul 28, 2026
·
Updated

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

1 affected component
Better Messages Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots (WordPress plugin)<=2.15.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress to a version that resolves this vulnerability.

    Fixed in 2.15.19

Event History

Jul 28, 2026
CVE Published
via MITRE·05:39 AM
Data Sourced
via MITRE·05:39 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-16585?

The severity of CVE-2026-16585 is rated as high with a score of 7.2.

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.

3

What type of attack does CVE-2026-16585 enable?

CVE-2026-16585 enables an authenticated administrator to perform arbitrary file deletion via path traversal.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203