CVE-2026-140587: SourceCodester Drug Recommendation System User Management add_user.php sql injection
A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/adduser.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may be used.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments of SourceCodester Drug Recommendation System 1.0 are affected where the User Management component and its Admin/add_user.php endpoint are reachable by an attacker. The attack can be performed remotely.
What does an attacker need to exploit it?
The attacker needs to send a crafted value in the txtpassword argument handled by Admin/add_user.php. No privileges or user interaction are indicated by the supplied vector.
How likely is exploitation?
A public exploit is available, and the attack has low complexity according to the provided CVSS vector. This increases the practical risk for reachable affected installations.