CVE-2022-1390: Arbitrary File Read and Potential RCE in Admin Word Count Column WordPress Plugin
- Vendor
- Admin Word Count Column Project
The Admin Word Count Column WordPress plugin (up to version 2.2) fails to validate the 'path' parameter passed to the readfile() function. This allows unauthenticated attackers to exploit path traversal and null byte injection vulnerabilities on servers running outdated PHP versions. Attackers can read arbitrary files and, in certain conditions, achieve remote code execution via Phar deserialization.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers can read sensitive files from the server, potentially exposing credentials, configuration files, or other sensitive data. On vulnerable PHP versions, exploitation may escalate to remote code execution via crafted Phar archives, allowing full compromise of the affected WordPress instance.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the vulnerable plugin endpoint, disable the plugin if an update is not available, and ensure the web server and PHP are up to date. Employ web application firewalls to block suspicious requests exploiting path traversal or null byte injection.
Remediation
Patch, then assume compromise.
Update the Admin Word Count Column plugin to a version that properly validates and sanitizes the 'path' parameter before passing it to file operations. Ensure the server is running a supported and patched version of PHP that is not susceptible to null byte injection and Phar deserialization attacks.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-1390 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-1390?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2022-1390.
- Is there a patch for CVE-2022-1390?
- Update the Admin Word Count Column plugin to a version that properly validates and sanitizes the 'path' parameter before passing it to file operations. Ensure the server is running a supported and patched version of PHP that is not susceptible to null byte injection and Phar deserialization attacks.
- What products are affected by CVE-2022-1390?
- Admin Word Count Column Project Admin Word Count Column.
- How severe is CVE-2022-1390?
- CVE-2022-1390 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 21.9% (98th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.