# CVE-2026-9355: SourceCodester Hospitals Patient Records Management System SQL injection in Master.php

Source: https://junglewise.ai/threats/cve-2026-9355-sourcecodester-hospitals-patient-records-management-system-sql  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-24. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2026-9355 · Severity: high · CVSS 7.3 · Published 2026-05-24

A vulnerability has been identified in the SourceCodester Hospitals Patient Records Management System, a web application used for managing medical patient data. An attacker can exploit this flaw to gain unauthorized access to the underlying database without needing a username or password. This could lead to the theft of sensitive patient records, unauthorized modification of medical history, or a complete disruption of the system's operations.

Technologies: [SourceCodester Hospitals Patient Records Management System](https://junglewise.ai/threats/technologies/hospitals-patient-records-management-system). Vendors: [SourceCodester](https://junglewise.ai/threats/vendors/sourcecodester).

## Quick answers

**Is CVE-2026-9355 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-9355 being exploited in the wild.

**How severe is CVE-2026-9355?** High severity, with a CVSS score of 7.3, published 24 May 2026.

**Which products and versions are affected?** SourceCodester Hospitals Patient Records Management System 1.0.

**Is there a fix for CVE-2026-9355?** 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-9355 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-9355?** 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/Master.php' file. The 'save_patient_history' function fails to properly sanitize or validate the 'id' parameter before using it in a database query. A remote, unauthenticated attacker can exploit this by sending a specially crafted HTTP POST request containing malicious SQL commands. Successful exploitation allows for unauthorized database access, data exfiltration, and potential system compromise. A public exploit (PoC) using boolean-based blind SQL injection has been disclosed.

## Affected products

- SourceCodester Hospitals Patient Records Management System 1.0

## Timeline

- 2026-04-25: disclosed: Vulnerability reported on GitHub by user zzb1388
- 2026-05-24: advisory: CVE published by VulDB/NVD

## References

- [https://github.com/yan-124/yan/issues/3](https://github.com/yan-124/yan/issues/3)
- [https://vuldb.com/submit/813020](https://vuldb.com/submit/813020)
- [https://vuldb.com/vuln/365318](https://vuldb.com/vuln/365318)
- [https://vuldb.com/vuln/365318/cti](https://vuldb.com/vuln/365318/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Hospitals Patient Records Management System XSS in room_types](https://junglewise.ai/threats/cve-2026-11468-sourcecodester-hospitals-patient-records-management-system-xss-in)
- [SourceCodester Hospitals Patient Records Management System SQL injection in Users.php](https://junglewise.ai/threats/cve-2026-10185-sourcecodester-hospitals-patient-records-management-system-sql)
- [SourceCodester Hospitals Patient Records Management System SQL injection in Users.php](https://junglewise.ai/threats/cve-2026-10184-sourcecodester-hospitals-patient-records-management-system-sql)
- [SourceCodester Hospitals Patient Records Management System SQL injection in view_history.php](https://junglewise.ai/threats/cve-2026-9342-sourcecodester-hospitals-patient-records-management-system-sql)
