CVE-2026-105704: SourceCodester Drug Recommendation System authentication bypass in Auth Guard

CVE-2026-105704 · Severity: high · CVSS 7.3 · Published 2026-10-06

SourceCodester Drug Recommendation System is a web application for recommending medications to patients. An authentication bypass vulnerability in its Auth Guard component allows unauthenticated attackers to manipulate a user_id parameter and bypass login protections, gaining unauthorized access to sensitive administrative functions like user management and database operations. The exploit is publicly available and requires only network access with no authentication.

Technologies: SourceCodester Drug Recommendation System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-105704 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-105704 being exploited in the wild.
How severe is CVE-2026-105704?
High severity, with a CVSS score of 7.3, published 6 October 2026.
Which products and versions are affected?
SourceCodester Drug Recommendation System 1.0.
Is there a fix for CVE-2026-105704?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-105704 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-105704?
Check whether you run SourceCodester Drug Recommendation System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The Auth Guard fails to call exit() or die() after sending a Location redirect header when $_SESSION['user_id'] is empty, allowing execution to continue past the authentication check. An attacker can manipulate the user_id parameter to reach protected admin pages and execute sensitive operations (user deletion, password changes, SQL queries) without proper authentication. A network-based remote attack requires no prior authentication or user interaction.

Affected products

  • SourceCodester Drug Recommendation System 1.0

Timeline

  • 2026-10-06: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.