Threat Overview
A critical unauthenticated code injection vulnerability in Advanced Custom Fields: Extended PRO (acf-extended-pro), a popular developer toolkit used to build front-end forms and custom field workflows on commercial WordPress websites, enables remote attackers to execute arbitrary internal PHP and WordPress functions.
Tracked as CVE-2026-120534 and rated CRITICAL (CVSS 9.8), the defect affects all versions up to and including 0.9.2.6. Because the vulnerable form-rendering routine processes unvalidated configuration arrays directly from visitor requests, attackers require no user account or authentication cookies to trigger execution.
| Threat Metric | Technical Details |
|---|---|
| Severity Rating | CRITICAL (CVSS 9.8 / 10.0) |
| Vulnerability Class | Unauthenticated Code Injection / Arbitrary Function Call (CWE-94) |
| Vulnerable Components | Advanced Custom Fields: Extended PRO (acf-extended-pro) versions up to and including 0.9.2.6 |
| Attack Vector | Unauthenticated HTTP request passing crafted form settings into render_field() |
| Target Asset | PHP call_user_func_array() Dispatcher & WordPress Core Runtime |
| Remediation | Update immediately to Advanced Custom Fields: Extended PRO 0.9.2.7 or higher |
The Breakdown: How the Exploit Works
The vulnerability stems from insufficient validation of form configuration parameters inside the plugin’s render_field method. When rendering front-end form components, the plugin merges incoming configuration parameters directly into field setting arrays and passes those callback definitions into PHP’s call_user_func_array() without verifying that the target callable is authorized.
Attackers reach this execution sink through two pathways: either when a target form has shortcode_preview enabled, or on server environments lacking the PHP OpenSSL extension where acf_decrypt() silently falls back to unverified base64 decoding. In either case, an unauthenticated visitor can specify an arbitrary WordPress or PHP function name alongside controlled arguments.
The Operational Risk: What an Attacker Gains
- Unauthenticated Function Execution: Remote attackers can invoke internal WordPress routines directly from an unauthenticated web request.
- Privilege Escalation to Administrator: Calling account creation or metadata update functions lets attackers mint rogue administrator accounts and take full control of the dashboard.
- Sensitive Data Exfiltration: Attackers can invoke option-dumping callbacks to expose database credentials, API keys, and customer records.
- Persistent Server Compromise: Once administrative control is established, threat actors routinely deploy stealth PHP webshells that survive subsequent plugin updates.
Our Take in Plain English
“Think of PHP’s
call_user_func_arrayas a master switchboard operator inside your web server that dials any internal system command handed to it. This plugin takes untrusted instructions from a public visitor and hands them straight to that switchboard—and if your server misses an encryption library, the plugin quietly drops its lock and accepts raw base64 text instead. Moving your business to a modern pre-rendered edge architecture eliminates live PHP callback dispatchers from your public web perimeter completely.”
The Modern Architectural Remedy
- Legacy Dynamic WordPress: Executes complex PHP form-rendering engines and dynamic callback dispatchers on every public page request, turning parameter validation oversights into remote code execution.
- Modern Pre-Rendered Edge Architecture: Delivers compiled, zero-runtime static HTML from the global edge while isolating form submissions to strictly typed, serverless API endpoints with zero server-side callback execution.
Immediate Action Items for WordPress Operators
- Patch Immediately: Upgrade Advanced Custom Fields: Extended PRO (
acf-extended-pro) to version0.9.2.7or higher across all environments. - Verify OpenSSL Runtime Support: Confirm the PHP
opensslextension is enabled so encryption routines never fall back to unverified base64 decoding. - Disable Shortcode Previews: Audit front-end ACF Extended forms and disable
shortcode_previewif patching is delayed. - Audit Administrator Accounts: Review
wp_usersandwp_usermetafor unauthorized administrator accounts or unexpected option changes.
