CVE-2026-6101 PUBLISHED

AMP for WP <= 1.1.12 - Authenticated (Author+) Arbitrary File Write via Role-Based Access Configuration with Local Font Upload

Assigner: Wordfence
Reserved: 10.04.2026 Published: 07.07.2026 Updated: 07.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.5

Product Status

Vendor mohammed_kaludi
Product AMP for WP – Accelerated Mobile Pages
Versions Default: unaffected
  • affected from 0 to 1.1.12 (incl.)

Credits

  • Leonid Semenenko (lsemenenko) finder

References

Problem Types

  • CWE-73 External Control of File Name or Path CWE