CVE-2026-140587 — SourceCodester Drug Recommendation System (1.0) — CWE-74 · CWE-89
A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.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.
A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140587
CVSS 7.3/10 · HIGH · 01.12.2026
CWE: CWE-74, CWE-89
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
SQL Injection (SQLi)
Summary: A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection.
Affected: SourceCodester Drug Recommendation System
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); limited integrity modification (I:L); reduced availability or partial DoS (A:L).
🛡️ REMEDIATION
→ Apply vendor security update for SourceCodester Drug Recommendation System.
→ Use prepared statements and parameterized queries.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]
FOFA Query