/

CVE-2026-133478

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Doctor Appointment Login

CVE-2026-133478

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Potential unauthorized database access or modification

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

Doctor-Appointment-System has a SQL injection vulnerability in the Login component, associated with handling the User argument in Connectivity.php. A remote attacker may be able to influence database queries if that input is incorporated into SQL without adequate protection.

Affected context

The reported issue affects the Login component in AppointmentSystem/AppointmentSystem/Connectivity.php in the Doctor-Appointment-System codebase through commit ee974dcf4c50da85e6ea026e27f4370e9468b3cc. The specific function is not identified in the advisory, and the project uses rolling releases, so affected and updated release versions are not specified.

Exploit preconditions

  • Attack surface: The Login component is reported as remotely reachable.
  • Required access: The advisory does not specify whether authentication or other access is required.
  • Trigger point: Processing of the User argument in the affected code path.
  • Why exploitation is possible: If input influences SQL syntax rather than being handled strictly as data, an attacker may be able to alter the resulting database query.
  • Exploit availability: Public disclosure is reported; this does not establish that every deployment is exploitable.

Why this happens

The reported flaw is SQL injection, classified as CWE-89, with CWE-74 describing the broader issue of improper neutralization of special elements in structured input. The underlying insecure pattern is allowing externally influenced values to change the meaning of a database command, such as through unsafe query construction.

Potential impact

  • An attacker may be able to read data beyond the intended application permissions.
  • Database records could be altered or deleted, depending on query access and database privileges.
  • Authentication or application workflows could be affected if they rely on vulnerable queries.
  • Exposed data or disrupted records could affect users and service availability.

General mitigation guidance

Mitigation generally centers on ensuring user-controlled values remain data and cannot alter SQL structure.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for database operations.
  • Avoiding query construction through string concatenation or interpolation.
  • Applying strict input validation as an additional safeguard, not as a substitute for parameterization.
  • Restricting database account permissions to the minimum required operations.
  • Returning generic database errors and limiting sensitive details in application responses.

How teams detect issues like this

High-level detection approaches include:

  • Static analysis rules that flag SQL assembled from externally controlled values.
  • Code review of login and database access paths, especially handling of the User argument.
  • Tests that verify inputs are bound as parameters and cannot change query structure.
  • Policies that require parameterized database access and review exceptions.

Automated code review tools may help identify risky query-construction patterns.

Sources

SourceLink
github.comgithub.com/To-LingJing/CVE-Issues/issues/9
vuldb.comvuldb.com/cve/CVE-2026-133478
vuldb.comvuldb.com/submit/1048484
vuldb.comvuldb.com/vuln/440880
vuldb.comvuldb.com/vuln/440880/cti

Frequently asked

questions

The report says the attack can be initiated remotely. Actual exposure depends on whether the affected Login code path is reachable in a deployment.

The advisory does not specify authentication requirements. Access to the relevant login functionality and handling of the User argument are the key reported conditions.

Use parameterized queries so user-supplied values are treated only as data, and limit database privileges.

Require parameterized database access in code review and automated checks, and test query handling at application boundaries.

Find out what's already
exploitable in your codebase.