CVE-2026-66398: phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API

Published Jul 27, 2026
·
Updated

phpMyFAQ before v4.1.6 contains a remote code execution vulnerability in the configuration API that allows authenticated administrators with CONFIGURATIONEDIT and ATTACHMENTADD privileges to write arbitrary PHP files by manipulating the upgrade.lastDownloadedPackage setting. Attackers can upload a malicious ZIP file as an attachment, point the updater configuration to its stored path, and extract it into the application root to achieve code execution as the web server user.

Affected Software

1 affected component
PhpMyFaq phpmyfaq<4.1.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade phpMyFAQ to a version that resolves this vulnerability.

    Fixed in 4.1.6
  2. Configuration

    Prevent abuse of the configuration API by ensuring upgrade.lastDownloadedPackage is not manipulable to reference attacker-supplied attachment paths that can be extracted into the application root for code execution.

    phpMyFAQ configuration API upgrade.lastDownloadedPackage = Do not point this setting to an attacker-controlled stored path (ensure it cannot reference uploaded content such as a malicious ZIP extracted into the application root)

Event History

Jul 27, 2026
CVE Published
via MITRE·03:43 PM
Data Sourced
via MITRE·03:43 PM
DescriptionWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-66398?

CVE-2026-66398 has a risk rating of 69, indicating a significant threat level.

2

How do I fix CVE-2026-66398?

To mitigate CVE-2026-66398, upgrade your phpMyFAQ installation to version 4.1.6 or later.

3

Who is affected by CVE-2026-66398?

CVE-2026-66398 affects all phpMyFAQ versions prior to 4.1.6, specifically impacting authenticated administrators with certain privileges.

4

What type of vulnerability is CVE-2026-66398?

CVE-2026-66398 is classified as a Remote Code Execution vulnerability.

5

What privileges are required to exploit CVE-2026-66398?

Exploiting CVE-2026-66398 requires CONFIGURATION_EDIT and ATTACHMENT_ADD privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203