/

CVE-2026-105230

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Food-Waste Delivery System

CVE-2026-105230

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Unauthorized database access and data manipulation

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 the food-waste-management-system may allow attacker-controlled values in delivery-related parameters to alter database queries. Because the affected endpoint is remotely reachable, an attacker who can access it may read, modify, or otherwise affect database data.

A SQL injection vulnerability in the food-waste-management-system may allow attacker-controlled values in delivery-related parameters to alter database queries. Because the affected endpoint is remotely reachable, an attacker who can access it may read, modify, or otherwise affect database data.

Affected context

The vulnerability occurs in the delivery workflow at delivery/deliverymyord.php, where the delivery_person_id and order_id arguments are processed. Risk is present when these remotely supplied values are incorporated into database queries without reliable parameterization or equivalent query separation.

The vulnerability occurs in the delivery workflow at delivery/deliverymyord.php, where the delivery_person_id and order_id arguments are processed. Risk is present when these remotely supplied values are incorporated into database queries without reliable parameterization or equivalent query separation.

Exploit preconditions

  • Attack surface: Remotely accessible delivery-management web endpoint - Required access: Network access to the endpoint; authentication

requirements depend on the application's access controls

  • Trigger point: Processing of the delivery_person_id or order_id

request parameters

  • Why exploitation is possible: User-controlled input can influence SQL

statement construction rather than being handled strictly as data

  • Attack surface: Remotely accessible delivery-management web endpoint - Required access: Network access to the endpoint; authentication

requirements depend on the application's access controls

  • Trigger point: Processing of the delivery_person_id or order_id

request parameters

  • Why exploitation is possible: User-controlled input can influence SQL

statement construction rather than being handled strictly as data

Why this happens

The underlying bug is an improper separation between external input and SQL command structure. When request parameters are concatenated into queries or are otherwise insufficiently constrained, database syntax can be influenced by input values. This 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 underlying bug is an improper separation between external input and SQL command structure. When request parameters are concatenated into queries or are otherwise insufficiently constrained, database syntax can be influenced by input values. This 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.

Potential impact

  • An attacker may retrieve unauthorized application or user data
  • An attacker could alter delivery, order, or account-related records
  • Database integrity may be compromised
  • Application availability could be affected through malicious queries
  • Exposed database privileges could increase the scope of compromise
  • An attacker may retrieve unauthorized application or user data
  • An attacker could alter delivery, order, or account-related records
  • Database integrity may be compromised
  • Application availability could be affected through malicious queries
  • Exposed database privileges could increase the scope of compromise

General mitigation guidance

Mitigation generally centers on ensuring that all database operations treat request values strictly as data. Common defensive patterns include parameterized queries or prepared statements, safe database abstraction layers, and allowlist validation for identifiers expected to follow a constrained format. Input trust should be reduced at every boundary rather than relying only on client-side checks. Database accounts should use least-privilege permissions, and error responses should avoid revealing query details or backend implementation information.

Mitigation generally centers on ensuring that all database operations treat request values strictly as data. Common defensive patterns include parameterized queries or prepared statements, safe database abstraction layers, and allowlist validation for identifiers expected to follow a constrained format. Input trust should be reduced at every boundary rather than relying only on client-side checks. Database accounts should use least-privilege permissions, and error responses should avoid revealing query details or backend implementation information.

How teams detect issues like this

Detection approaches include static analysis for string concatenation or interpolation of request values into SQL calls, code review of all delivery_person_id and order_id handling, and policy checks requiring prepared statements for database access. Runtime monitoring may identify unusual query errors, unexpected parameter patterns, or abnormal database access from the delivery endpoint. Automated security review tools can provide additional coverage for injection-prone data flows.

Detection approaches include static analysis for string concatenation or interpolation of request values into SQL calls, code review of all delivery_person_id and order_id handling, and policy checks requiring prepared statements for database access. Runtime monitoring may identify unusual query errors, unexpected parameter patterns, or abnormal database access from the delivery endpoint. Automated security review tools can provide additional coverage for injection-prone data flows.

Sources

SourceLink
github.comgithub.com/kishor-23/food-waste-management-system/
github.comgithub.com/kishor-23/food-waste-management-system/issues/13
vuldb.comvuldb.com/cve/CVE-2026-105230
vuldb.comvuldb.com/submit/972895
vuldb.comvuldb.com/vuln/413430
vuldb.comvuldb.com/vuln/413430/cti

Frequently asked

questions

The reported issue is reachable through a remote delivery-management

endpoint. Exploitability still depends on network exposure and any

authentication or authorization controls applied to that endpoint.

The attacker needs access to the affected request path and the ability to

supply or influence the relevant delivery parameters. The exact access level

depends on the application's deployment and authorization model.

Use parameterized queries or prepared statements for every database operation,

validate values against appropriate allowlists, and avoid building SQL from

untrusted strings.

Enforce secure database-access patterns through code review, static analysis,

least-privilege database accounts, centralized input handling, and runtime

monitoring for suspicious query behavior.

The reported issue is reachable through a remote delivery-management

endpoint. Exploitability still depends on network exposure and any

authentication or authorization controls applied to that endpoint.

The attacker needs access to the affected request path and the ability to

supply or influence the relevant delivery parameters. The exact access level

depends on the application's deployment and authorization model.

Use parameterized queries or prepared statements for every database operation,

validate values against appropriate allowlists, and avoid building SQL from

untrusted strings.

Enforce secure database-access patterns through code review, static analysis,

least-privilege database accounts, centralized input handling, and runtime

monitoring for suspicious query behavior.

Find out what's already
exploitable in your codebase.