CVE-2026-10185: SourceCodester Hospitals Patient Records Management System SQL injection in Users.php

CVE-2026-10185 · Severity: high · CVSS 7.3 · Published 2026-05-31

SourceCodester Hospitals Patient Records Management System 1.0 is vulnerable to a security flaw that allows unauthorized individuals to access or modify the underlying database. This system is used to manage sensitive patient records and hospital administrative data. An attacker could exploit this to steal patient information, alter medical records, or disrupt hospital operations without needing any login credentials.

Technologies: SourceCodester Hospitals Patient Records Management System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-10185 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-10185 being exploited in the wild.
How severe is CVE-2026-10185?
High severity, with a CVSS score of 7.3, published 31 May 2026.
Which products and versions are affected?
SourceCodester Hospitals Patient Records Management System 1.0.
Is there a fix for CVE-2026-10185?
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-10185 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-10185?
Check whether you run SourceCodester Hospitals Patient Records Management 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

A SQL injection vulnerability exists in SourceCodester Hospitals Patient Records Management System 1.0 within the '/classes/Users.php?f=save' endpoint. The root cause is the improper neutralization of the 'id' parameter, which is used directly in SQL queries without sufficient validation or sanitization. A remote, unauthenticated attacker can exploit this by sending a specially crafted POST request containing a boolean-based blind SQL injection payload. Successful exploitation allows for unauthorized database access, sensitive data exfiltration, and potential data tampering. A public exploit (PoC) has been disclosed.

Affected products

  • SourceCodester Hospitals Patient Records Management System 1.0

Timeline

  • 2026-05-06: disclosed: Initial discovery and report on GitHub by zzb1388.
  • 2026-05-31: advisory: CVE-2026-10185 published.

References

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