Description
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.
Published: 2026-07-07
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The AMP for WP – Accelerated Mobile Pages plugin contains unsafe ZIP extraction logic in the ampforwp_save_local_font() function that fails to delete nested directories. This allows an authenticated user with Author role or higher to upload a ZIP archive that writes arbitrary files to the WordPress uploads folder, which is web‑accessible. If the uploaded file contains PHP, a visitor to the site could execute the script, resulting in remote code execution on the host. The weakness is a classic path traversal flaw, identified as CWE‑73.

Affected Systems

WordPress installations running the AMP for WP – Accelerated Mobile Pages plugin version 1.1.12 or earlier are affected. Any user who holds at least Author authority and has permission to use the local font upload feature can trigger the flaw. The issue exists in the plugin’s local font configuration page and is limited to plugins of that version range.

Risk and Exploitability

The CVSS score of 7.5 indicates high impact, but the EP than 1 % suggests a low probability of widespread exploitation currently. The vulnerability is listed outside the CISA KEV catalog. Successful exploitation requires valid credentials with at least Author level and access to the font upload configuration; any authenticated attacker can then place a PHP file in the uploads directory and trigger execution via a remote visitor. The likely attack vector is authenticated local file upload and may proceed once the attacker gains access to the site’s admin area.

Generated by OpenCVE AI on July 26, 2026 at 19:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade AMP for WP – Accelerated Mobile Pages to the latest version, which fixes the unsafe ZIP extraction logic.
  • If an immediate upgrade is not possible, disable the local font upload feature or restrict it to accept only non‑executable MIME types so ZIP uploads cannot contain code.
  • Ensure the WordPress uploads directory has restrictive permissions and add an .htaccess rule (or equivalent) to prevent execution of PHP execution is not required.

Generated by OpenCVE AI on July 26, 2026 at 19:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Mohammed Kaludi
Mohammed Kaludi amp For Wp – Accelerated Mobile Pages
Wordpress
Wordpress wordpress
Vendors & Products Mohammed Kaludi
Mohammed Kaludi amp For Wp – Accelerated Mobile Pages
Wordpress
Wordpress wordpress

Tue, 07 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 07 Jul 2026 14:00:00 +0000

Type Values Removed Values Added
Description 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.
Title AMP for WP <= 1.1.12 - Authenticated (Author+) Arbitrary File Write via Role-Based Access Configuration with Local Font Upload
Weaknesses CWE-73
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Mohammed Kaludi Amp For Wp – Accelerated Mobile Pages
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-07T14:14:00.335Z

Reserved: 2026-04-10T23:33:50.597Z

Link: CVE-2026-6101

cve-icon Vulnrichment

Updated: 2026-07-07T14:13:51.163Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:30:03Z

Weaknesses
  • CWE-73

    External Control of File Name or Path