CVE-2026-142696: Textpattern CMS File Download Tag File.php file_download sql injection
A vulnerability was determined in Textpattern CMS up to 4.9.1. Affected by this vulnerability is the function filedownload of the file textpattern/vendors/Textpattern/Tag/Syntax/File.php of the component File Download Tag. Executing a manipulation of the argument sort can lead to sql injection. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. Upgrading to version 4.9.2 addresses this issue. It is suggested to upgrade the affected component.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.9.2
Event History
Frequently Asked Questions
Which deployments are affected?
Textpattern CMS versions up to 4.9.1 are affected when using the File Download Tag component. The vulnerable code is the file_download function in textpattern/vendors/Textpattern/Tag/Syntax/File.php.
What does an attacker need to exploit this issue?
The attack can be performed remotely and requires manipulation of the sort argument. The supplied data does not identify any authentication or user-interaction requirement.
Is public exploit information available?
Yes. A proof of concept is flagged, and the exploit has been publicly disclosed and may be used.
What is the remediation?
Upgrade Textpattern CMS to version 4.9.2, which addresses the issue. No alternative mitigation is provided in the available data.