/

CVE-2026-112151

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Criminal Management System

CVE-2026-112151

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 high-severity SQL injection vulnerability affects the Submission Form functionality in the Criminal Management System. Remote attackers may manipulate form parameters and potentially access, alter, or interfere with database information when those values are incorporated into database queries without adequate protection.

A high-severity SQL injection vulnerability affects the Submission Form functionality in the Criminal Management System. Remote attackers may manipulate form parameters and potentially access, alter, or interfere with database information when those values are incorporated into database queries without adequate protection.

Affected context

The weakness occurs in the home.php functionality associated with the Submission Form in affected rolling-release versions of vraj404 Criminal Management System. It may be present when request parameters such as id, name, offName, crime, dob, arrDate, crimeDate, sex, address, folder, or more are accepted remotely and used in database operations without consistent parameterization or validation.

The weakness occurs in the home.php functionality associated with the Submission Form in affected rolling-release versions of vraj404 Criminal Management System. It may be present when request parameters such as id, name, offName, crime, dob, arrDate, crimeDate, sex, address, folder, or more are accepted remotely and used in database operations without consistent parameterization or validation.

Exploit preconditions

  • Attack surface: Remote web application request handling
  • Required access: Network access to the Submission Form; authentication requirements may depend on deployment configuration
  • Trigger point: Processing of user-controlled parameters by home.php
  • Why exploitation is possible: Input may reach database queries in a form that permits SQL syntax to influence query behavior
  • Exposure consideration: Public exploit information may increase the likelihood of attempted attacks
  • Attack surface: Remote web application request handling
  • Required access: Network access to the Submission Form; authentication requirements may depend on deployment configuration
  • Trigger point: Processing of user-controlled parameters by home.php
  • Why exploitation is possible: Input may reach database queries in a form that permits SQL syntax to influence query behavior
  • Exposure consideration: Public exploit information may increase the likelihood of attempted attacks

Why this happens

The underlying issue is the failure to maintain a strict separation between SQL code and user-supplied data. When form parameters are concatenated into queries, or are otherwise processed without reliable parameter binding and contextual validation, an attacker may influence the structure or behavior of a database operation. 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 issue is the failure to maintain a strict separation between SQL code and user-supplied data. When form parameters are concatenated into queries, or are otherwise processed without reliable parameter binding and contextual validation, an attacker may influence the structure or behavior of a database operation. 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 read sensitive records from the application database.
  • Unauthorized users could alter, insert, or delete database content.
  • Application authentication or authorization data could be exposed or affected.
  • Database availability may be degraded through disruptive queries.
  • Compromised data could support further attacks against users or connected systems.
  • An attacker may read sensitive records from the application database.
  • Unauthorized users could alter, insert, or delete database content.
  • Application authentication or authorization data could be exposed or affected.
  • Database availability may be degraded through disruptive queries.
  • Compromised data could support further attacks against users or connected systems.

General mitigation guidance

Mitigation generally centers on ensuring that database commands cannot be reinterpreted through request data.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for every database operation.
  • Apply allowlist-based validation appropriate to each field's expected type and format.
  • Avoid constructing SQL statements through string concatenation.
  • Restrict database accounts to the minimum permissions required by the application.
  • Separate application database credentials and limit access to sensitive tables and operations.
  • Return generic database errors to clients while recording useful security telemetry internally.
  • Treat client-side validation as supplemental rather than a trust boundary.

Mitigation generally centers on ensuring that database commands cannot be reinterpreted through request data.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for every database operation.
  • Apply allowlist-based validation appropriate to each field's expected type and format.
  • Avoid constructing SQL statements through string concatenation.
  • Restrict database accounts to the minimum permissions required by the application.
  • Separate application database credentials and limit access to sensitive tables and operations.
  • Return generic database errors to clients while recording useful security telemetry internally.
  • Treat client-side validation as supplemental rather than a trust boundary.

How teams detect issues like this

Organizations commonly look for this class of weakness through:

  • Static analysis rules identifying SQL construction from request parameters.
  • Code review checks for string concatenation or interpolation in database queries.
  • Tests that verify prepared statements are used across all submission-handling paths.
  • Web application firewall or gateway policies monitoring anomalous database-oriented input patterns.
  • Database audit logs that identify unusual query structures, error spikes, or unexpected access to sensitive tables.
  • Automated security testing and code review tools that trace untrusted request data into database APIs.

Organizations commonly look for this class of weakness through:

  • Static analysis rules identifying SQL construction from request parameters.
  • Code review checks for string concatenation or interpolation in database queries.
  • Tests that verify prepared statements are used across all submission-handling paths.
  • Web application firewall or gateway policies monitoring anomalous database-oriented input patterns.
  • Database audit logs that identify unusual query structures, error spikes, or unexpected access to sensitive tables.
  • Automated security testing and code review tools that trace untrusted request data into database APIs.

Sources

SourceLink
github.comgithub.com/vraj404/Criminal-Management-System/issues/3
vuldb.comvuldb.com/cve/CVE-2026-112151
vuldb.comvuldb.com/submit/1014017
vuldb.comvuldb.com/vuln/422258
vuldb.comvuldb.com/vuln/422258/cti

Frequently asked

questions

Yes. The affected functionality is exposed through a web request, so exploitation may be possible remotely when the Submission Form is reachable and its parameters are processed by the vulnerable code.

Not necessarily. The required access depends on how the application is deployed and whether the Submission Form is protected by authentication or other access controls.

Use parameterized queries or prepared statements for all database operations, combined with context-appropriate input validation and least-privilege database permissions.

Treat all request data as untrusted, prohibit dynamic SQL construction from raw input, review data flows into database APIs, and continuously test the application and its database activity for injection behavior.

Yes. The affected functionality is exposed through a web request, so exploitation may be possible remotely when the Submission Form is reachable and its parameters are processed by the vulnerable code.

Not necessarily. The required access depends on how the application is deployed and whether the Submission Form is protected by authentication or other access controls.

Use parameterized queries or prepared statements for all database operations, combined with context-appropriate input validation and least-privilege database permissions.

Treat all request data as untrusted, prohibit dynamic SQL construction from raw input, review data flows into database APIs, and continuously test the application and its database activity for injection behavior.

Find out what's already
exploitable in your codebase.