CVE-2026-138395: Black-coffe easy-php-cms single.php selectPostFromPostsWithUsersOnSingle sql injection
A security flaw has been discovered in Black-coffe easy-php-cms 4ca1f761d05fd819b202daf1355ff46881a8f93a/acbb257b2afbf148c8e193d26f277183773572b5. Impacted is the function selectPostFromPostsWithUsersOnSingle of the file single.php. Performing a manipulation of the argument post results in sql injection. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.
Affected Software
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker can exploit the SQL injection remotely by manipulating the post argument handled by selectPostFromPostsWithUsersOnSingle in single.php. No privileges or user interaction are indicated as required.
Are systems exposed by default?
The available data identifies a remotely exploitable post argument but does not state whether the affected functionality is enabled or reachable in a default installation. Exposure depends on whether attackers can access the vulnerable single.php path and control that argument.
How urgent is mitigation?
Public exploit code is available, and the issue is rated high severity with low attack complexity. The vendor was reportedly notified but has not responded, so organizations should not assume a vendor fix is currently available.
What can be done if no patch is available?
The provided information does not identify a specific workaround. As an interim measure, restrict untrusted remote access to the affected application functionality where operationally feasible, particularly requests that can reach single.php with a controlled post argument.
How can I determine whether my deployment is affected?
Review the deployed easy-php-cms source for single.php and the selectPostFromPostsWithUsersOnSingle function, then determine whether its post argument can be influenced through remote requests. Fixed version identifiers are not available because the project uses a rolling release model.