CVE-2026-5427
Description
The Kubio plugin for WordPress is vulnerable to Arbitrary File Upload in versions up to and including 2.7.2. This is due to insufficient capability checks in the kubio_rest_pre_insert_import_assets() function, which is hooked to the rest_pre_insert_{post_type} filter for posts, pages, templates, and template parts. When a post is created or updated via the REST API, Kubio parses block attributes looking for URLs in the 'kubio' attribute namespace and automatically imports them via importRemoteFile() without verifying the user has the upload_files capability. This makes it possible for authenticated attackers with Contributor-level access and above to bypass WordPress's normal media upload restrictions and upload files fetched from external URLs to the media library, creating attachment posts in the database.
Affected WordPress components
-
Kubio AI Page Builder Plugin · kubioUp to and including 2.7.2View on WordPress.org
-
Kubio Theme · kubioUp to and including 2.7.2View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- extendthemes Kubio AI Page Builder — Up to and including 2.7.2
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/kubio/tags/2.7.1/lib/filters/post-insert.php#L17
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/kubio/tags/2.7.1/lib/importer/importer-filters/kubio-blocks.php#L20
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/kubio/tags/2.7.1/lib/src/Core/Importer.php#L546
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/kubio/trunk/lib/filters/post-insert.php#L17
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/kubio/trunk/lib/importer/importer-filters/kubio-blocks.php#L20
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/kubio/trunk/lib/src/Core/Importer.php#L546
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3506647/kubio/trunk/lib/src/Core/Importer.php
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/d8096f3c-e1a9-424f-af10-3e80212db985?source=cve
- nvd.nist.gov Official NVD record