Advanced Custom Fields: Code execution
Advanced Custom Fields is affected by code execution. The vulnerable path is reachable without authentication. Successful exploitation can run attacker-controlled code in the WordPress hosting account.
- Component
- Advanced Custom Fields
- Plugin slug
advanced-custom-fields- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Aug 05, 2025
This CVE was published Aug 05, 2025 and is one of 20 known issues for this plugin.
Update, patch or deactivate.
Update Advanced Custom Fields to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The WordPress plugin Advanced Custom Fields (ACF) version 3.5.1 and below contains a remote file inclusion (RFI) vulnerability in core/actions/export.php. When the PHP configuration directive allow_url_include is enabled (default: Off), an unauthenticated attacker can exploit the acf_abspath POST parameter to include and execute arbitrary remote PHP code. This leads to remote code execution under the web server’s context, allowing full compromise of the host.
CVE / CNA vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary and upstream sources
- NVD record for CVE-2012-10025
- Upstream reference web.archive.org
- Upstream reference raw.githubusercontent.com
- WordPress.org plugin page wordpress.org
- Upstream reference wpscan.com
- Upstream reference exploit-db.com
- Upstream reference tenable.com
- VulnCheck advisory vulncheck.com
- Wordfence advisory wordfence.com
- Upstream reference raw.githubusercontent.com
- Upstream reference exploit-db.com