CVE-2021-47943 TextPattern CMS 4.8.7 Remote Code Execution via File Upload

High 8.7 Published Updated

Authenticated attackers can execute arbitrary commands by uploading malicious PHP files via the file upload feature in 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-47943?

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

Official description

TextPattern CMS 4.8.7 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by uploading malicious PHP files through the file upload functionality. Attackers can upload a PHP shell via the Files section in the content area and execute commands by accessing the uploaded file at /textpattern/files/ with GET parameters passed to the system function.

Weakness: CWE-434

Which versions are affected by CVE-2021-47943?

How do I fix CVE-2021-47943?

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

Is CVE-2021-47943 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47943 exists.

Sources

Also known as GHSA-3fw2-x5r9-x34j.

Is CVE-2021-47943 in your software?

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

Check your SBOMs for free