CVE-2026-10185: SourceCodester Hospitals Patient Records Management System Users.php save sql injection

Published May 31, 2026
·
Updated

A weakness has been identified in SourceCodester Hospitals Patient Records Management System 1.0. Affected is an unknown function of the file /classes/Users.php?f=save. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks.

Affected Software

1 affected component
Sourcecodester Hospitals Patient Records Management System=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Remove

    Remove SourceCodester Hospitals Patient Records Management System 1.0 from your environment.

    If the application is not required, uninstall or remove the affected application instance to eliminate the vulnerable component from the environment.

  2. Configuration

    Ensure the ID argument accepted by /classes/Users.php?f=save is strictly validated (e.g., cast or reject non-numeric input) and convert any dynamic SQL to use parameterized queries or prepared statements to eliminate SQL injection.

    SourceCodester Hospitals Patient Records Management System 1.0 - /classes/Users.php?f=save ID parameter handling / SQL query = validate ID as an integer and use parameterized queries / prepared statements
  3. Compensating control

    If a code patch cannot be applied immediately, restrict access to the application (and the /classes/Users.php endpoint) by network controls such as firewall rules, IP allowlists, or a web application firewall (WAF) to limit exposure to untrusted networks.

  4. Operational

    Because a public exploit exists, assume possible compromise: review access and database logs for suspicious activity, investigate indicators of compromise, and rotate any credentials (application, database, administrative) that may have been exposed before or during remediation.

Event History

May 31, 2026
CVE Published
via MITRE·01:45 PM
Data Sourced
via MITRE·01:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Aug 28, 58383
Event
via NVD·07:58 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-10185?

The severity of CVE-2026-10185 is rated high with a score of 7.3.

2

How do I fix CVE-2026-10185?

To fix CVE-2026-10185, ensure that input parameters are properly sanitized and validated to prevent SQL injection.

3

What software is impacted by CVE-2026-10185?

CVE-2026-10185 affects the SourceCodester Hospitals Patient Records Management System, version 1.0.

4

Can CVE-2026-10185 be exploited remotely?

Yes, CVE-2026-10185 allows for remote exploitation of the SQL injection vulnerability.

5

What type of vulnerability is CVE-2026-10185?

CVE-2026-10185 is classified as an SQL Injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203