CVE-2021-24227: Local File Disclosure in Patreon WordPress Plugin <1.7.0
- Vendor
- Patreon
A Local File Disclosure vulnerability exists in the Patreon WordPress plugin before version 1.7.0. The vulnerability allows unauthenticated attackers to access arbitrary files on the server, such as wp-config.php, which contains sensitive information including database credentials and cryptographic keys.
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.
Successful exploitation allows attackers to read sensitive files, including wp-config.php, leading to potential compromise of the WordPress installation, database credentials, and cryptographic secrets. This can result in full site compromise, data theft, and further attacks leveraging the disclosed credentials.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to sensitive files at the web server level, monitor for suspicious file access patterns, and ensure that file permissions are set to prevent unauthorized access. However, the primary mitigation is to update the plugin to a non-vulnerable version.
Remediation
Patch, then assume compromise.
Upgrade the Patreon WordPress plugin to version 1.7.0 or later, where the vulnerability has been patched.
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.
References
Frequently asked questions
- Is CVE-2021-24227 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-2021-24227?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-24227.
- Is there a patch for CVE-2021-24227?
- Upgrade the Patreon WordPress plugin to version 1.7.0 or later, where the vulnerability has been patched.
- What products are affected by CVE-2021-24227?
- Patreon Wordpress.
- How severe is CVE-2021-24227?
- CVE-2021-24227 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 6.8% (94th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.