CVE-2021-47976 TextPattern CMS 4.9.0-dev Authenticated Remote Code Execution via Plugin Upload

High 8.7 Published Updated

Authenticated attackers can upload malicious PHP files via the plugin upload feature to achieve remote code execution on Textpattern CMS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47976?

CVE-2021-47976 is a high-severity vulnerability in TextPattern CMS, published on 16 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

TextPattern CMS 4.9.0-dev contains a remote code execution vulnerability that allows authenticated attackers to upload arbitrary PHP files by exploiting the plugin upload functionality. Attackers can authenticate, retrieve a CSRF token from the plugin event page, and upload malicious PHP files to the textpattern/tmp/ directory for code execution.

Weakness: CWE-352

Which versions are affected by CVE-2021-47976?

How do I fix CVE-2021-47976?

No fix has been published for CVE-2021-47976 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-47976 being exploited?

There is no known exploitation of CVE-2021-47976 in the wild and no public exploit code.

Sources

Also known as GHSA-77f2-mm55-xvp4.

Is CVE-2021-47976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free