CVE-2025-12640 Missing authorization in Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager
Authenticated attackers with Author-level access can replace arbitrary media files due to missing authorization checks in the WordPress Folders plugin.
- 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-12640?
CVE-2025-12640 is a medium-severity missing authorization vulnerability in premio Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager, published on 8 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Folders – Unlimited Folders to Organize Media Library Folder, Pages, Posts, File Manager plugin for WordPress is vulnerable to Unauthorized Arbitrary Media Replacement in all versions up to, and including, 3.1.5. This is due to missing object-level authorization checks in the handle_folders_file_upload() function. This makes it possible for authenticated attackers, with Author-level access and above, to replace arbitrary media files from the WordPress Media Library.
Weakness: CWE-862
Which versions are affected by CVE-2025-12640?
How do I fix CVE-2025-12640?
No fix has been published for CVE-2025-12640 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-12640 being exploited?
There is no known exploitation of CVE-2025-12640 in the wild and no public exploit code.
Sources
Also known as GHSA-342w-vxrh-ccxv.