CVE-2026-140587: SourceCodester Drug Recommendation System · SQL Injection
Affects SourceCodester Drug Recommendation SystemSource CVE Database V5
Public exploit available · CVSS 6.9 Medium.
Data as of 1 Dec 2026, 13:47 UTC
Thin evidence
One scorer or none| CNA (VulDB) | CVSS 4.0 | 6.9 |
|---|---|---|
| CNA (VulDB) | CVSS 3.1 | 7.3 |
| CNA (VulDB) | CVSS 3.0 | 7.3 |
| CNA (VulDB) | CVSS 2.0 | 7.5 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:PExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SourceCodesterDrug Recommendation System | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*
AI-suggested
Until a fix is available, restrict access to the vulnerable component and consider implementing web application firewall rules to detect and block SQL injection attempts targeting the txtpassword parameter.
Description
CVE-2026-140587 is a SQL injection vulnerability in SourceCodester Drug Recommendation System version 1.0. It affects the Admin/add_user.php file in the User Management component. The vulnerability arises from manipulation of the txtpassword argument, allowing remote attackers to execute SQL injection attacks. Public exploit code is available. The CVSS 4.0 base score is 6.9, indicating a medium severity level.
References
- vuldb.com/vuln/446938 (opens in a new tab)
- vuldb.com/vuln/446938/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-140587 (opens in a new tab)
- vuldb.com/submit/1091915 (opens in a new tab)
- github.com/qwer1230011107/vuldb-reports/blob/main/drug-recommender/01-SQL%E6%B3%A8%E5%85%A5.md (opens in a new tab)
- sourcecodester.com (opens in a new tab)