/

CVE-2026-119619

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in cak-filemanagement admin

CVE-2026-119619

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 high-severity SQL injection vulnerability affects the student-saving functionality of the cak-filemanagement-system. Remote attackers may manipulate several request parameters to alter database queries when the application processes student records, particularly where input reaches mysqli_query without adequate parameterization.

A high-severity SQL injection vulnerability affects the student-saving functionality of the cak-filemanagement-system. Remote attackers may manipulate several request parameters to alter database queries when the application processes student records, particularly where input reaches mysqli_query without adequate parameterization.

Affected context

The vulnerability occurs in the admin/save_student.php functionality of cak-filemanagement-system versions represented by the affected revision range. It may be present when remotely supplied values such as date, department, subject, forwarded_to, action_taken_by, section, or password are incorporated into SQL statements without sufficient separation from query syntax.

The vulnerability occurs in the admin/save_student.php functionality of cak-filemanagement-system versions represented by the affected revision range. It may be present when remotely supplied values such as date, department, subject, forwarded_to, action_taken_by, section, or password are incorporated into SQL statements without sufficient separation from query syntax.

Exploit preconditions

  • Attack surface: Remote web request to the student-saving functionality
  • Required access: Network reachability to the affected endpoint; additional authentication requirements depend on deployment configuration
  • Trigger point: Processing of attacker-controlled parameters by admin/save_student.php
  • Why exploitation is possible: Input is apparently passed into database query construction without reliable parameter binding or equivalent context-aware handling
  • Attack surface: Remote web request to the student-saving functionality
  • Required access: Network reachability to the affected endpoint; additional authentication requirements depend on deployment configuration
  • Trigger point: Processing of attacker-controlled parameters by admin/save_student.php
  • Why exploitation is possible: Input is apparently passed into database query construction without reliable parameter binding or equivalent context-aware handling

Why this happens

The underlying bug is an injection flaw in which externally controlled values influence SQL command structure rather than remaining strictly data values. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection). CWE-74 is a broader injection category that also describes the failure to isolate untrusted input from an interpreted command language.

The underlying bug is an injection flaw in which externally controlled values influence SQL command structure rather than remaining strictly data values. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection). CWE-74 is a broader injection category that also describes the failure to isolate untrusted input from an interpreted command language.

Potential impact

  • An attacker may read unauthorized database records
  • Database contents could be modified, deleted, or corrupted
  • Authentication or authorization data may be exposed or altered
  • Application integrity and confidentiality could be compromised
  • Further compromise may be possible if database privileges or server configuration are excessive
  • An attacker may read unauthorized database records
  • Database contents could be modified, deleted, or corrupted
  • Authentication or authorization data may be exposed or altered
  • Application integrity and confidentiality could be compromised
  • Further compromise may be possible if database privileges or server configuration are excessive

General mitigation guidance

Mitigation generally focuses on ensuring that untrusted request data cannot modify SQL command structure.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for every database operation
  • Apply allowlisted validation appropriate to each field's expected type and format
  • Avoid constructing SQL statements through string concatenation
  • Use database accounts with only the permissions required by the application
  • Centralize database access patterns so secure query handling is the default
  • Add consistent error handling that does not disclose query details or sensitive database information
  • Treat client-side validation as supplemental rather than a trust boundary

Mitigation generally focuses on ensuring that untrusted request data cannot modify SQL command structure.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for every database operation
  • Apply allowlisted validation appropriate to each field's expected type and format
  • Avoid constructing SQL statements through string concatenation
  • Use database accounts with only the permissions required by the application
  • Centralize database access patterns so secure query handling is the default
  • Add consistent error handling that does not disclose query details or sensitive database information
  • Treat client-side validation as supplemental rather than a trust boundary

How teams detect issues like this

Detection approaches may include:

  • Static analysis rules identifying SQL construction through string concatenation or interpolation
  • Code review checks for direct use of request parameters in database query APIs
  • Tests that verify prepared statements and parameter binding for all user-controlled fields
  • Runtime monitoring for unusual query errors, unexpected database access patterns, or repeated malformed requests
  • Web application firewall or API policy rules that provide a compensating control for suspicious input patterns
  • Automated security review tools that flag injection-prone data flows for manual verification

Detection approaches may include:

  • Static analysis rules identifying SQL construction through string concatenation or interpolation
  • Code review checks for direct use of request parameters in database query APIs
  • Tests that verify prepared statements and parameter binding for all user-controlled fields
  • Runtime monitoring for unusual query errors, unexpected database access patterns, or repeated malformed requests
  • Web application firewall or API policy rules that provide a compensating control for suspicious input patterns
  • Automated security review tools that flag injection-prone data flows for manual verification

Sources

SourceLink
github.comgithub.com/37954679/cak-filemanagement-system/
github.comgithub.com/37954679/cak-filemanagement-system/issues/1
vuldb.comvuldb.com/cve/CVE-2026-119619
vuldb.comvuldb.com/submit/1026374
vuldb.comvuldb.com/vuln/429058
vuldb.comvuldb.com/vuln/429058/cti

Frequently asked

questions

Yes, the reported attack surface is a remotely reachable web functionality. Whether authentication is required depends on how access to the administrative endpoint is configured.

An attacker needs network access to the affected functionality and must be able to submit values that reach the vulnerable database operation. Any application authentication or authorization controls may affect practical exploitability.

The safest pattern is to use parameterized queries or prepared statements for all database operations, combined with field-specific validation and least-privilege database credentials.

Establish secure database access abstractions, review every data flow from request input to query execution, test authorization boundaries, and enforce static-analysis and code-review policies that prohibit dynamic SQL construction from untrusted values.

Yes, the reported attack surface is a remotely reachable web functionality. Whether authentication is required depends on how access to the administrative endpoint is configured.

An attacker needs network access to the affected functionality and must be able to submit values that reach the vulnerable database operation. Any application authentication or authorization controls may affect practical exploitability.

The safest pattern is to use parameterized queries or prepared statements for all database operations, combined with field-specific validation and least-privilege database credentials.

Establish secure database access abstractions, review every data flow from request input to query execution, test authorization boundaries, and enforce static-analysis and code-review policies that prohibit dynamic SQL construction from untrusted values.

Find out what's already
exploitable in your codebase.