/

CVE-2026-112150

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Criminal-Management-System

CVE-2026-112150

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Unauthorized database access and 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 Criminal-Management-System search functionality allows crafted search input to alter database queries. Because the affected endpoint can be reached remotely, an attacker may access, modify, or interfere with database-backed application data when input is incorporated into queries without adequate protection.

A SQL injection vulnerability in the Criminal-Management-System search functionality allows crafted search input to alter database queries. Because the affected endpoint can be reached remotely, an attacker may access, modify, or interfere with database-backed application data when input is incorporated into queries without adequate protection.

Affected context

The issue occurs in the search.php functionality of vraj404 Criminal-Management-System, specifically where the Search argument is processed. Deployments may be exposed when this parameter reaches database query construction without reliable separation between user-supplied data and SQL syntax.

The issue occurs in the search.php functionality of vraj404 Criminal-Management-System, specifically where the Search argument is processed. Deployments may be exposed when this parameter reaches database query construction without reliable separation between user-supplied data and SQL syntax.

Exploit preconditions

  • Attack surface: The remotely reachable search functionality in search.php
  • Required access: Network access to the application endpoint; authentication requirements may depend on deployment configuration
  • Trigger point: Processing of the Search request argument
  • Why exploitation is possible: Untrusted input may be incorporated into SQL statements without parameterization or equivalent query-boundary enforcement
  • Attack surface: The remotely reachable search functionality in search.php
  • Required access: Network access to the application endpoint; authentication requirements may depend on deployment configuration
  • Trigger point: Processing of the Search request argument
  • Why exploitation is possible: Untrusted input may be incorporated into SQL statements without parameterization or equivalent query-boundary enforcement

Why this happens

The underlying bug is an input-handling failure in which externally supplied search data can influence the structure of a database query. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'). The broader CWE-74 classification reflects improper neutralization when input is allowed to alter the intended interpretation of a downstream command or query.

The underlying bug is an input-handling failure in which externally supplied search data can influence the structure of a database query. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'). The broader CWE-74 classification reflects improper neutralization when input is allowed to alter the intended interpretation of a downstream command or query.

Potential impact

  • An attacker may retrieve unauthorized database records
  • Database contents could be modified, deleted, or corrupted
  • Authentication or authorization data may be exposed or altered
  • Application availability could be affected through resource-intensive queries
  • Sensitive information could be disclosed to an unauthorized remote user
  • An attacker may retrieve unauthorized database records
  • Database contents could be modified, deleted, or corrupted
  • Authentication or authorization data may be exposed or altered
  • Application availability could be affected through resource-intensive queries
  • Sensitive information could be disclosed to an unauthorized remote user

General mitigation guidance

Mitigation generally focuses on ensuring that search input remains data rather than executable query syntax.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for all database operations
  • Applying narrowly defined server-side validation appropriate to search fields
  • Avoiding dynamic SQL construction from request values
  • Limiting the database account to only the permissions required by the application
  • Separating database errors from responses returned to users
  • Protecting administrative and search endpoints with appropriate authentication and authorization controls
  • Reducing trust in client-provided input and applying consistent controls across all query paths

Mitigation generally focuses on ensuring that search input remains data rather than executable query syntax.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for all database operations
  • Applying narrowly defined server-side validation appropriate to search fields
  • Avoiding dynamic SQL construction from request values
  • Limiting the database account to only the permissions required by the application
  • Separating database errors from responses returned to users
  • Protecting administrative and search endpoints with appropriate authentication and authorization controls
  • Reducing trust in client-provided input and applying consistent controls across all query paths

How teams detect issues like this

Organizations commonly detect SQL injection risks through:

  • Static analysis rules that identify string concatenation or interpolation in database queries
  • Code review checks for request parameters passed directly into query-building logic
  • Dynamic testing of search and filter parameters using safe, non-destructive security test cases
  • Database monitoring for anomalous query patterns, unexpected errors, and unusual data-access volume
  • Policy enforcement requiring prepared statements or approved data-access abstractions
  • Automated security review tools that flag unsanitized input reaching SQL execution APIs

Organizations commonly detect SQL injection risks through:

  • Static analysis rules that identify string concatenation or interpolation in database queries
  • Code review checks for request parameters passed directly into query-building logic
  • Dynamic testing of search and filter parameters using safe, non-destructive security test cases
  • Database monitoring for anomalous query patterns, unexpected errors, and unusual data-access volume
  • Policy enforcement requiring prepared statements or approved data-access abstractions
  • Automated security review tools that flag unsanitized input reaching SQL execution APIs

Sources

SourceLink
github.comgithub.com/vraj404/Criminal-Management-System/
github.comgithub.com/vraj404/Criminal-Management-System/issues/2
vuldb.comvuldb.com/cve/CVE-2026-112150
vuldb.comvuldb.com/submit/1014016
vuldb.comvuldb.com/vuln/422257
vuldb.comvuldb.com/vuln/422257/cti

Frequently asked

questions

Yes. The affected search functionality is described as remotely reachable, although practical exploitability also depends on network exposure and any authentication or authorization controls.

Not necessarily. The required access depends on how the application protects search.php; exposure of the endpoint without effective access controls increases risk.

Use parameterized queries or prepared statements so search values cannot change SQL command structure, and validate input according to the expected search behavior.

Combine secure database APIs with least-privileged database accounts, code review rules, static analysis, and security testing of every endpoint that accepts query-related input.

Yes. The affected search functionality is described as remotely reachable, although practical exploitability also depends on network exposure and any authentication or authorization controls.

Not necessarily. The required access depends on how the application protects search.php; exposure of the endpoint without effective access controls increases risk.

Use parameterized queries or prepared statements so search values cannot change SQL command structure, and validate input according to the expected search behavior.

Combine secure database APIs with least-privileged database accounts, code review rules, static analysis, and security testing of every endpoint that accepts query-related input.

Find out what's already
exploitable in your codebase.