# FileBird – WordPress Media Library Folders & File Manager <= 6.5.8 - Authenticated (Contributor+) Missing Authorization to Arbitrary Post Folder Assignment

- **ID:** WPSEC-2026-0971
- **Plugin:** FileBird – WordPress Media Library Folders & File Manager (`filebird`), https://wordpress.org/plugins/filebird/
- **Affected versions:** all versions before 6.5.9
- **Fixed in:** 6.5.9 (Update to 6.5.9 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-14)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/filebird
- **Fix released:** 2026-10-13
- **Published:** 2026-10-14
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0971/

## Description

The FileBird plugin for WordPress is vulnerable to unauthorized modification of data via the pt-set-folder REST endpoint in all versions up to, and including, 6.5.8, due to a missing capability check on the post IDs supplied to the restSetFolder() function. The function only checked that the destination folder belonged to the caller, and the post IDs were then passed to wp_set_post_terms(), which replaces every folder a post is in. This makes it possible for authenticated attackers with Contributor-level access and above to move posts and pages they cannot edit into folders, or out of them, on sites where folders for posts or pages are turned on. When each user has their own folders, this also removes those posts from other users' folders.

## References

- https://wpsec.com/vuln/WPSEC-2026-0971/
- https://plugins.svn.wordpress.org/filebird/tags/6.5.9/
- https://wordpress.org/plugins/filebird/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0971/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
