/

CVE-2026-116060

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Performance Indicator System

CVE-2026-116060

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Database compromise and unauthorized data access

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 SQL injection vulnerability in SourceCodester Performance Indicator System 1.0 affects the remotely reachable adddealer.php endpoint through the Contact argument. If the application incorporates that input into database queries without adequate separation or validation, an attacker may read, alter, or otherwise manipulate backend data.

A SQL injection vulnerability in SourceCodester Performance Indicator System 1.0 affects the remotely reachable adddealer.php endpoint through the Contact argument. If the application incorporates that input into database queries without adequate separation or validation, an attacker may read, alter, or otherwise manipulate backend data.

Affected context

The issue occurs in deployments of SourceCodester Performance Indicator System 1.0 where the /opils/staff/adddealer.php endpoint is accessible remotely and the Contact parameter reaches database query construction without effective protections. Exploitability may depend on network exposure, authentication controls, and the privileges assigned to the database account used by the application.

The issue occurs in deployments of SourceCodester Performance Indicator System 1.0 where the /opils/staff/adddealer.php endpoint is accessible remotely and the Contact parameter reaches database query construction without effective protections. Exploitability may depend on network exposure, authentication controls, and the privileges assigned to the database account used by the application.

Exploit preconditions

  • Attack surface: The remotely accessible /opils/staff/adddealer.php endpoint
  • Required access: Network access to the endpoint; authentication requirements depend on deployment configuration
  • Trigger point: Processing of the Contact request argument
  • Why exploitation is possible: User-controlled input may be interpreted as part of a database statement rather than treated solely as data
  • Attack surface: The remotely accessible /opils/staff/adddealer.php endpoint
  • Required access: Network access to the endpoint; authentication requirements depend on deployment configuration
  • Trigger point: Processing of the Contact request argument
  • Why exploitation is possible: User-controlled input may be interpreted as part of a database statement rather than treated solely as data

Why this happens

The underlying bug is an insufficient separation between untrusted request data and SQL query structure. This behavior maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component. The insecure pattern occurs when application-controlled query construction allows input from the Contact parameter to influence database command semantics.

The underlying bug is an insufficient separation between untrusted request data and SQL query structure. This behavior maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component. The insecure pattern occurs when application-controlled query construction allows input from the Contact parameter to influence database command semantics.

Potential impact

  • An attacker may access unauthorized database records
  • Sensitive application or user information could be disclosed
  • Database records may be modified or deleted
  • Application authentication or authorization data could be affected
  • The application may experience data integrity or availability issues
  • An attacker may access unauthorized database records
  • Sensitive application or user information could be disclosed
  • Database records may be modified or deleted
  • Application authentication or authorization data could be affected
  • The application may experience data integrity or availability issues

General mitigation guidance

Mitigation generally focuses on ensuring that request data cannot alter database command structure.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for all database operations
  • Apply allowlist-based validation appropriate to the expected contact-data format
  • Avoid dynamic SQL construction from request parameters
  • Use a database account limited to the application's required operations
  • Enforce authentication and authorization checks consistently at administrative endpoints
  • Return generic database errors without exposing query details
  • Apply secure-by-default input handling across comparable endpoints

Mitigation generally focuses on ensuring that request data cannot alter database command structure.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for all database operations
  • Apply allowlist-based validation appropriate to the expected contact-data format
  • Avoid dynamic SQL construction from request parameters
  • Use a database account limited to the application's required operations
  • Enforce authentication and authorization checks consistently at administrative endpoints
  • Return generic database errors without exposing query details
  • Apply secure-by-default input handling across comparable endpoints

How teams detect issues like this

Organizations can look for SQL injection risks through:

  • Static analysis rules identifying string concatenation or interpolation in SQL construction
  • Code review checks for request parameters passed directly into database APIs
  • Dynamic application testing using non-destructive validation techniques
  • Database monitoring for unusual query patterns, errors, or access volumes
  • Policy enforcement requiring prepared statements and restricted database privileges

Automated code review and application security testing tools may help identify similar flaws across related endpoints.

Organizations can look for SQL injection risks through:

  • Static analysis rules identifying string concatenation or interpolation in SQL construction
  • Code review checks for request parameters passed directly into database APIs
  • Dynamic application testing using non-destructive validation techniques
  • Database monitoring for unusual query patterns, errors, or access volumes
  • Policy enforcement requiring prepared statements and restricted database privileges

Automated code review and application security testing tools may help identify similar flaws across related endpoints.

Sources

SourceLink
github.comgithub.com/hubdk01/cve/issues/11
vuldb.comvuldb.com/cve/CVE-2026-116060
vuldb.comvuldb.com/submit/999167
vuldb.comvuldb.com/vuln/426143
vuldb.comvuldb.com/vuln/426143/cti
sourcecodester.comsourcecodester.com/

Frequently asked

questions

Yes, the affected endpoint is described as remotely reachable. Practical exploitability still depends on network exposure, authentication, and authorization controls.

Not necessarily. The required access depends on how the application protects the endpoint and whether the relevant staff function requires authentication.

Use parameterized queries or prepared statements, validate the expected input format, and ensure the database account has only necessary privileges.

Adopt secure database access policies, review all request-to-query data flows, apply automated analysis in development pipelines, and monitor database activity for anomalous behavior.

Yes, the affected endpoint is described as remotely reachable. Practical exploitability still depends on network exposure, authentication, and authorization controls.

Not necessarily. The required access depends on how the application protects the endpoint and whether the relevant staff function requires authentication.

Use parameterized queries or prepared statements, validate the expected input format, and ensure the database account has only necessary privileges.

Adopt secure database access policies, review all request-to-query data flows, apply automated analysis in development pipelines, and monitor database activity for anomalous behavior.

Find out what's already
exploitable in your codebase.