CVE-2026-10185: SQL Injection in SourceCodester Hospitals Patient Records Management System
The National Vulnerability Database has detailed CVE-2026-10185, a high-severity SQL injection vulnerability affecting SourceCodester Hospitals Patient Records Management System version 1.0. The flaw resides in an unspecified function within the /classes/Users.php?f=save file. Manipulating the ID argument allows for remote SQL injection, a critical vulnerability that attackers can readily exploit.
This vulnerability carries a CVSS score of 7.3 (HIGH) and is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Different Context) and CWE-89 (Improper Neutralization of Special Elements used in an SQL Command (‘SQL Injection’)). The exploit code has been publicly released, significantly lowering the bar for attackers and increasing the immediate risk of exploitation.
For defenders, the implication is direct and severe. Publicly available exploits for SQL injection in web applications are a common attack vector for initial access and data exfiltration. Any organization using this specific Patient Records Management System needs to understand that they are a prime target. Attackers will prioritize systems where they can achieve remote code execution or database access with minimal effort, and this vulnerability fits that profile perfectly.
What This Means For You
- If your organization uses SourceCodester Hospitals Patient Records Management System 1.0, you must immediately assess your exposure to CVE-2026-10185. This is a critical SQL injection with a public exploit. Prioritize patching or implementing compensating controls to mitigate the risk of remote data compromise and unauthorized access. Assume attackers are already scanning for this vulnerability.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-10185: SQL Injection in SourceCodester Hospitals Patient Records Management System
title: CVE-2026-10185: SQL Injection in SourceCodester Hospitals Patient Records Management System
id: scw-2026-05-31-ai-1
status: experimental
level: high
description: |
Detects attempts to exploit CVE-2026-10185 by targeting the /classes/Users.php file with a 'save' function and 'ID' parameter. The rule looks for common SQL injection patterns like UNION SELECT, SLEEP, or BENCHMARK within the query string, indicating a potential exploitation attempt against the SourceCodester Hospitals Patient Records Management System.
author: SCW Feed Engine (AI-generated)
date: 2026-05-31
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-10185/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri-query|contains:
- '/classes/Users.php?f=save&ID='
cs-method:
- 'GET'
cs-uri-query|contains:
- 'UNION SELECT'
- 'SLEEP('
- 'BENCHMARK('
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-10185 | SQLi | SourceCodester Hospitals Patient Records Management System 1.0 |
| CVE-2026-10185 | SQLi | /classes/Users.php?f=save |
| CVE-2026-10185 | SQLi | Manipulation of argument ID |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 31, 2026 at 17:16 UTC |
This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.
Believe this infringes your rights? Submit a takedown request.