CVE-2025-13322 WP AUDIO GALLERY <= 2.0 - Authenticated (Subscriber+) Arbitrary File Deletion via 'audio_upload' Parameter
Authenticated subscribers can delete arbitrary files via path traversal, potentially leading to remote code execution by removing critical configuration files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-13322?
CVE-2025-13322 is a high-severity path traversal vulnerability in husainali52 WP AUDIO GALLERY, published on 21 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WP AUDIO GALLERY plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in all versions up to, and including, 2.0. This is due to the `wpag_uploadaudio_callback()` AJAX handler not properly validating user-supplied file paths in the `audio_upload` parameter before passing them to `unlink()`. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when critical files like wp-config.php are deleted.
Weakness: CWE-73
Which versions are affected by CVE-2025-13322?
How do I fix CVE-2025-13322?
No fix has been published for CVE-2025-13322 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-13322 being exploited?
There is no known exploitation of CVE-2025-13322 in the wild and no public exploit code.
Sources
Also known as GHSA-72jg-c386-7wmv.