/

CVE-2026-76764

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Employee Admin Login Endpoint

CVE-2026-76764

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Database compromise and potential authentication bypass

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 affects the Admin Login Endpoint in code-projects Employee Management System 1.0. A remote attacker may manipulate the mailuid argument to alter database queries, potentially bypass authentication or access and modify stored data when the endpoint is reachable and input is insufficiently separated from SQL commands.

Affected context

The vulnerability occurs in /process/aprocess.php, within the Admin Login Endpoint of Employee Management System 1.0. It becomes risky when the endpoint is exposed to remote requests and the mailuid parameter is incorporated into database operations without robust parameterization or equivalent query safeguards.

Exploit preconditions

  • Attack surface: Remotely accessible Admin Login Endpoint
  • Required access: Ability to submit requests to the endpoint; valid authentication may not be required
  • Trigger point: Processing of the mailuid argument in /process/aprocess.php
  • Why exploitation is possible: Attacker-controlled input may influence SQL query structure when it is not safely bound as data

Why this happens

The underlying bug is an injection flaw in which externally supplied input is combined with a database query in a way that allows the input to alter query meaning. This maps primarily to CWE-89: SQL Injection and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component. The insecure pattern is constructing or interpreting SQL with untrusted values instead of keeping query code and data separate.

Potential impact

  • An attacker may bypass application authentication checks
  • Unauthorized database records may be disclosed
  • Stored data may be modified or deleted
  • Database availability may be reduced
  • Further compromise could occur if the database account has excessive privileges

General mitigation guidance

Mitigation generally focuses on ensuring that user-controlled values cannot become executable SQL syntax.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for all database operations
  • Apply allowlist-based validation appropriate to the expected mailuid format
  • Avoid dynamic SQL construction from request parameters
  • Use a database account with only the permissions required by the application
  • Return generic errors and avoid exposing database details
  • Keep validation, query construction, and authorization checks consistently enforced across endpoints

How teams detect issues like this

Detection approaches may include:

  • Static analysis rules identifying string concatenation or interpolation in SQL calls
  • Code review checks for direct use of request parameters in database queries
  • Dynamic application testing with benign injection markers and error-response analysis
  • Web application firewall or API policy rules monitoring anomalous login parameter patterns
  • Database audit logs for unexpected query structures, authentication bypass indicators, or unusual account activity
  • Automated security review tools that flag missing parameter binding and unsafe query APIs

Sources

SourceLink
code-projects.orgcode-projects.org/
github.comgithub.com/niaoniaollll/cve/issues/10
vuldb.comvuldb.com/cve/CVE-2026-76764
vuldb.comvuldb.com/submit/879173
vuldb.comvuldb.com/vuln/393236
vuldb.comvuldb.com/vuln/393236/cti

Frequently asked

questions

Yes. The description indicates that the affected Admin Login Endpoint can be reached remotely, although actual exposure depends on deployment and network access controls.

Not necessarily. The endpoint is an administrative login path, and an attacker may only need the ability to submit requests if authentication is processed by the vulnerable code.

Use parameterized queries or prepared statements so that mailuid and other request values are always treated as data rather than SQL syntax.

Combine secure database APIs, strict input validation, least-privilege database accounts, code review, automated analysis, and monitoring of authentication and database activity.

Find out what's already
exploitable in your codebase.