/

CVE-2026-78246

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Online Clinic Admin Login

CVE-2026-78246

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Authentication Bypass and Database Compromise

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A high-severity SQL injection vulnerability in the Online Clinic Management System allows remotely supplied username input to influence a database query in the administrator login component. Under conditions where the affected endpoint is reachable and input is insufficiently constrained, an attacker may bypass authentication or access, modify, or extract database content.

Affected context

The vulnerability occurs in the Admin Login functionality of success/login.php in Online Clinic Management System 1.0. It becomes risky when the login endpoint is exposed to an attacker and the Username argument is incorporated into a database query without effective parameterization or equivalent query separation.

Exploit preconditions

  • Attack surface: The remotely reachable administrator login endpoint - Required access: Ability to send requests to the login functionality; valid

credentials may not be required

  • Trigger point: Processing of the Username argument in success/login.php - Why exploitation is possible: User-controlled input may alter the intended

structure or logic of a database query

Why this happens

The underlying bug is an injection flaw in which externally supplied login data is treated as part of a database command rather than as a strictly bounded value. If query construction does not use parameterized statements or another safe separation mechanism, crafted input can change query behavior. This maps primarily to CWE-89, SQL Injection, and is also related to CWE-74, Injection, because untrusted data is interpreted by a downstream command language.

Potential impact

  • An attacker may bypass administrator authentication.
  • An attacker could read sensitive records from the application database.
  • An attacker could modify or delete database information.
  • The application may expose confidential patient or operational data.
  • Database-dependent application functionality could be disrupted.

General mitigation guidance

Mitigation generally centers on ensuring that all database access uses parameterized queries, prepared statements, or safe data-access abstractions that keep values separate from SQL syntax. Input constraints and server-side validation can reduce trust in externally supplied values, but should not replace query parameterization. Secure-by-default authentication components, least-privilege database accounts, restricted database connectivity, and minimized application permissions can limit impact if an injection path remains. Error responses should avoid revealing query details or database diagnostics.

How teams detect issues like this

Detection approaches may include static analysis for string concatenation or interpolation used to construct SQL, code review checks for unparameterized login queries, and tests that verify query parameters remain separate from SQL statements. Dynamic testing can monitor abnormal database errors, unexpected authentication outcomes, and unusual query behavior at the login endpoint. Web application firewall or API gateway policies may provide defense-in-depth by flagging suspicious input patterns, while automated security review tools can help identify injection-prone data flows.

Sources

SourceLink
github.comgithub.com/microwaveabi/vul/issues/63
itsourcecode.comitsourcecode.com/
vuldb.comvuldb.com/cve/CVE-2026-78246
vuldb.comvuldb.com/submit/886163
vuldb.comvuldb.com/vuln/394596
vuldb.comvuldb.com/vuln/394596/cti

Frequently asked

questions

Yes. The reported attack surface is a remotely reachable administrator login

component, although actual exposure depends on network access controls and

deployment configuration.

Not necessarily. The relevant prerequisite is the ability to submit requests

to the affected login endpoint; authentication requirements may vary with

surrounding access controls.

Use parameterized queries or prepared statements for every database operation,

validate inputs on the server, and avoid constructing SQL from concatenated

user-controlled values.

Combine secure data-access abstractions with code review, automated static

analysis, injection-focused testing, least-privilege database accounts, and

monitoring for anomalous login and database activity.

Find out what's already
exploitable in your codebase.