Local File Inclusion in InstaWP Connect WordPress Plugin
CVE-2025-2636 is a local file inclusion vulnerability in the InstaWP Connect – 1-click WP Staging & Migration plugin for WordPress affecting all versions up to and including 0.1.0.85. The issue is exposed through the 'instawp-database-manager' parameter, which does not properly restrict or validate file paths before including server-side files. An unauthenticated attacker can cause the application to include arbitrary local files from the server. Where the included file contains executable PHP code, this can result in server-side code execution in the context of the web application. The flaw can also be leveraged to bypass intended access controls and expose sensitive local files.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow unauthenticated attackers to read sensitive local files, bypass application access controls, and in some cases achieve arbitrary PHP code execution on the server. If the attacker can cause inclusion of a file containing attacker-controlled PHP, such as an uploaded file or another writable server-side file, the vulnerability can lead to full compromise of the affected WordPress instance in the privileges of the web server process.
If you can’t patch tonight, do this now.
If an updated version is not immediately available, disable or remove the InstaWP Connect plugin from affected WordPress installations. Restrict unauthenticated access to any functionality that processes the 'instawp-database-manager' parameter, for example through web server access controls or WAF rules. Harden the environment by preventing arbitrary file uploads, disabling execution in upload directories, minimizing writable locations accessible to the web server, and monitoring for suspicious requests attempting path traversal or file inclusion via the vulnerable parameter.
Patch, then assume compromise.
Update the InstaWP Connect – 1-click WP Staging & Migration plugin to a version newer than 0.1.0.85 once a vendor fix is available. The vulnerable code handling the 'instawp-database-manager' parameter should be changed to eliminate dynamic file inclusion based on user-controlled input, or to strictly enforce an allowlist of fixed, expected files. Input validation and canonicalization should be applied before any file operation, and include paths should be constrained to a non-user-controllable directory.
No public exploits tracked yet. Mallory keeps watching.
8 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.