Skip to main content

AMP for WP CVE-2026-6101

| EUVDEUVD-2026-42041 HIGH
External Control of File Name or Path (CWE-73)
2026-07-07 Wordfence GHSA-gw54-4vv6-gpqx
7.5
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as Author with granted permission
  2. Delivery
    Craft malicious ZIP with PHP payload
  3. Exploit
    Upload via local-font feature
  4. Execution
    Unsafe extraction writes shell to uploads
  5. Persist
    Request planted PHP file
  6. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires an authenticated WordPress account at Author level or above (PR:L) that has additionally been granted the plugin's local-font/options permission by an Administrator - both conditions are explicitly stated in the description and are hard prerequisites. The attacker must supply a specially crafted ZIP whose entries defeat the plugin's nested-directory cleanup so files land in a web-accessible uploads path. Full remote code execution is further limited to hosts that execute PHP files from the uploads directory; on servers that block PHP execution in wp-content/uploads, the impact is constrained to arbitrary file write without direct code execution. The AC:H rating reflects these combined structural and configuration requirements; there is no unauthenticated or default-configuration path.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (base 7.5, High) is internally consistent with the description: network-reachable admin interface (AV:N), authenticated Author-level access plus an Administrator-granted permission (PR:L), high attack complexity because exploitation depends on both the malicious ZIP structure and the server actually executing PHP from uploads (AC:H), and full confidentiality/integrity/availability impact once code runs (C:H/I:H/A:H). Real-world risk is moderated by several factors: the attacker must already hold an authenticated Author+ account AND have been explicitly granted the relevant capability by an Administrator, and the full RCE outcome requires a non-default hosting configuration where uploads execute PHP. No EPSS score, KEV entry, SSVC decision, or public POC was provided, so this reads as a High-CVSS issue whose practical exploitation is gated by privilege and configuration rather than a wormable, unauthenticated threat. EPSS and SSVC data are absent from the input and should be checked before final prioritization.

Exploit ScenarioDerived

An attacker who controls (or has compromised) an Author-level WordPress account that an Administrator has granted local-font permissions crafts a ZIP archive containing a PHP webshell with nested path entries. Uploading it through the AMP for WP local-font feature triggers ampforwp_save_local_font(), which extracts the shell into a web-accessible uploads location; the attacker then requests that PHP file to execute arbitrary code. No public POC is identified at time of analysis, and the high attack complexity plus dependency on PHP execution in uploads make this a targeted rather than opportunistic path.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 07, 2026

Arbitrary file write in the AMP for WP - Accelerated Mobile Pages WordPress plugin (versions up to and including 1.1.12) lets authenticated Author-level users, granted permission by an Administrator, upload and unsafely extract a crafted ZIP through the ampforwp_save_local_font() function, planting attacker-controlled files in a web-accessible uploads path. On hosts configured to execute PHP from the uploads directory, this escalates to remote code execution. There is no public exploit identified at time of analysis, and the issue is not listed in CISA KEV; an upstream fix is present in the plugin repository (changeset 3512870).

RemediationAI

Upgrade AMP for WP to the fixed release published in the plugin repository; an upstream fix is available via WordPress.org changeset 3512870 (https://plugins.trac.wordpress.org/changeset/3512870/), so update to the first tagged version above 1.1.12 that includes this changeset - the released patched version number is not independently confirmed from the input, so verify the target version against the plugin changelog before deploying. As compensating controls until patched: revoke the Administrator-granted font/options capability from Author and Contributor roles so only trusted Administrators can invoke the local-font upload, and audit existing non-admin users for that permission. At the hosting layer, prevent PHP execution in the uploads directory (e.g., a deny rule for wp-content/uploads/*.php via .htaccess, nginx location block, or disabling the PHP handler for that path) - this breaks the RCE chain while leaving legitimate media serving intact, though it may interfere with rare plugins that intentionally run PHP from uploads. Restrict or monitor access to the plugin's font-upload admin endpoint via a WAF rule as an additional layer. Advisory reference: https://www.wordfence.com/threat-intel/vulnerabilities/id/b594d0e9-d805-48b9-bfd4-4cc77dd3a70e?source=cve.

Affected VersionsENISA

AMP for WP – Accelerated Mobile Pages 0 ≤1.1.12

Affected Packages

euvd amp_for_wp_accelerated_mobile_pages no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in AMP for WP's local-font handling, which accepts a user-supplied ZIP archive and extracts it server-side via ampforwp_save_local_font(). The root cause maps to CWE-73 (External Control of File Name or Path): the extraction routine does not sanitize archive member paths, and an inadequate cleanup step fails to remove nested directories and files, so an attacker controls both filename and destination path of written content. The plugin bundles the Redux framework (includes/options/redux-core/framework.php, referenced at the disclosed source lines) for its options/upload plumbing, and the write lands under the WordPress uploads directory. The CPE cpe:2.3:a:mohammed_kaludi:amp_for_wp_-_accelerated_mobile_pages:*:*:*:* confirms the affected component is the AMP for WP plugin authored by Mohammed Kaludi, not the WordPress core. RCE is contingent on the web server executing PHP files placed in wp-content/uploads.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-reachable admin function (AV:N) but needs Author+ account with an admin-granted capability (PR:L) plus crafted ZIP and PHP-executing uploads (AC:H), yielding full RCE impact (C/I/A:H).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

The AMP for WP - Accelerated Mobile Pages plugin for WordPress is vulnerable to Arbitrary File Write in versions up to and including 1.1.12. This is due to unsafe ZIP file extraction in the ampforwp_save_local_font() function combined with inadequate cleanup that fails to remove nested directories and files. This makes it possible for authenticated attackers, with Author-level access and above, and permissions granted by an Administrator, to write arbitrary files to the server in a web-accessible location, potentially leading to remote code execution on hosts that execute PHP files in the uploads directory.

Executive ViewAI

Why It Matters

The AMP for WP WordPress plugin (versions through 1.1.12) contains a file-upload vulnerability exposing WordPress installations to potential unauthorized code execution. The vulnerability requires an authenticated user with Author-level permissions and administrator delegation, limiting spontaneous exploitation but enabling privilege escalation by authorized insiders. Organizations must inventory usage and implement preventive controls immediately to mitigate insider risk and reduce the attack surface.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; upstream fix present in repository (changeset 3512870). Interim controls: (1) Disable the plugin entirely; (2) Configure web server to block PHP execution in uploads directories (via .htaccess, web.config, or server directive); (3) Restrict Author-level account issuance and enforce approval workflows for permission grants.

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Medium
widely-used WordPress AMP plugin, hundreds of thousands of installs
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy