Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104734 Overview
CVE-2026-104734 is a PHP Object Injection vulnerability in the Kirki – Freeform Page Builder, Website Builder & Customizer plugin for WordPress. The flaw affects all versions up to and including 6.3.2 and stems from deserialization of untrusted input [CWE-502]. Authenticated users can inject a PHP object through the plugin's template import functionality. While the plugin itself does not ship a Property-Oriented Programming (POP) chain, the presence of another vulnerable plugin or theme on the same site can enable arbitrary file deletion, sensitive data retrieval, or remote code execution.
Critical Impact
The KIRKI_USERS_DEFAULT_FULL_ACCESS configuration grants Editor-level users full access to the import endpoint, lowering the exploitation bar from Administrator to Editor privileges.
Affected Products
- Kirki – Freeform Page Builder, Website Builder & Customizer plugin for WordPress
- All versions up to and including 6.3.2
- WordPress sites with Editor-level or higher user accounts enabled
Discovery Timeline
- 2026-10-17 - CVE-2026-104734 published to the National Vulnerability Database (NVD)
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-104734
Vulnerability Analysis
The vulnerability resides in Kirki's template import logic. The plugin's AJAX handler for template import, exposed through includes/Ajax/TemplateExportImport.php, passes attacker-controlled input into PHP's deserialization routine inside includes/ExportImport/TemplateImport.php. When untrusted data is unserialized, PHP instantiates arbitrary objects and triggers magic methods such as __wakeup() or __destruct() on those objects.
On its own, Kirki does not define a usable POP chain, so direct impact is limited. However, WordPress environments typically run many plugins and themes concurrently. If any other installed component defines a class with exploitable magic methods, attackers can chain its gadgets to achieve arbitrary file operations, data exfiltration, or code execution within the WordPress process.
Root Cause
The root cause is unsafe use of PHP deserialization on untrusted request data submitted to the template import endpoint. The plugin trusts serialized payloads from the HTTP request body without validating structure, type, or integrity. This maps to the Insecure Deserialization weakness class defined by CWE-502.
Attack Vector
An authenticated attacker with Editor-level privileges or higher sends a crafted request to the Kirki template import AJAX endpoint. The request includes a serialized PHP object payload. The plugin deserializes the payload, which instantiates attacker-controlled objects. If a POP gadget exists in another plugin or theme, the deserialization triggers unintended behavior such as file deletion through a __destruct() method or command execution through a wrapped callable.
See the vulnerable sinks in TemplateImport.php line 963 and TemplateImport.php line 987 for the specific deserialization calls. The AJAX routing is defined in Ajax.php line 802.
Detection Methods for CVE-2026-104734
Indicators of Compromise
- POST requests to admin-ajax.php referencing Kirki template import actions containing serialized PHP markers such as O:, a:, or s: in request parameters.
- Unexpected file deletions, new PHP files in wp-content/uploads, or modifications to theme and plugin files following Editor or Administrator session activity.
- WordPress audit log entries showing template imports from users who do not normally perform site customization.
- Outbound network connections from the PHP worker process to unknown hosts shortly after a template import request.
Detection Strategies
- Inspect web server access logs for requests to the Kirki import endpoint and flag payloads containing serialized object signatures.
- Deploy a Web Application Firewall (WAF) rule that blocks or alerts on serialized PHP patterns in requests targeting /wp-admin/admin-ajax.php with Kirki-specific action parameters.
- Correlate authenticated session activity with file system changes using endpoint telemetry to catch post-exploitation behavior.
Monitoring Recommendations
- Enable WordPress plugin audit logging and alert on template import actions performed by Editor accounts.
- Monitor PHP error logs for __wakeup(), __destruct(), or class instantiation errors that indicate failed deserialization attempts.
- Track installation and version inventory of Kirki across all managed WordPress sites to identify unpatched instances.
How to Mitigate CVE-2026-104734
Immediate Actions Required
- Update the Kirki plugin to a version later than 6.3.2 that includes changeset #3743904.
- Audit WordPress user accounts and remove unnecessary Editor and Administrator privileges.
- Review installed plugins and themes for known POP chain gadgets and remove those no longer required.
- Rotate credentials for all privileged WordPress accounts if exploitation is suspected.
Patch Information
The vendor addressed the issue in a release following 6.3.2. The fix is documented in WordPress Kirki Changeset #3743904 and summarized in the Wordfence Vulnerability Report. Site operators should apply the update through the WordPress plugin manager and verify the installed version post-upgrade.
Workarounds
- Disable or uninstall the Kirki plugin until the patched version is deployed.
- Override the KIRKI_USERS_DEFAULT_FULL_ACCESS configuration to restrict the import endpoint to Administrator accounts only.
- Restrict access to /wp-admin/admin-ajax.php with IP allowlisting or additional authentication at the reverse proxy layer.
- Deploy WAF signatures that block serialized PHP object payloads in POST bodies targeting WordPress AJAX endpoints.
# Configuration example: restrict Kirki import access via wp-config.php
define( 'KIRKI_USERS_DEFAULT_FULL_ACCESS', false );
# Example nginx rule to block serialized object payloads to admin-ajax.php
location = /wp-admin/admin-ajax.php {
if ($request_body ~* "O:[0-9]+:\"") { return 403; }
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

