/

CVE-2026-100874

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in CloudClassroom-PHP Project

CVE-2026-100874

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

CloudClassroom-PHP-Project contains a SQL injection flaw in the addnewstudent.php functionality. A remote attacker may be able to submit crafted input that alters database queries, potentially exposing or modifying application data when the affected endpoint is reachable.

Affected context

The vulnerability occurs in the student-creation workflow implemented by addnewstudent.php. Risk is present where remotely supplied request values reach database queries without reliable parameterization or equivalent query-boundary protections. The precise affected parameter and database behavior are not specified in the available disclosure.

Exploit preconditions

  • Attack surface: A remotely reachable web endpoint associated with

addnewstudent.php

  • Required access: The ability to send requests to the affected

functionality; authentication requirements depend on deployment

configuration

  • Trigger point: Processing attacker-controlled student or related form

input

  • Why exploitation is possible: Input may be incorporated into a database

query without sufficient separation between data and SQL syntax

Why this happens

The underlying bug is an injection flaw in which externally controlled input can influence the structure or meaning of a database statement. This maps primarily to CWE-89, SQL Injection. The broader CWE-74 classification reflects the unsafe use of input in an interpreter context, typically caused by constructing queries through string concatenation or incomplete escaping instead of using parameterized database operations.

Potential impact

  • An attacker may read sensitive records
  • An attacker could alter or delete application data
  • Database integrity and application workflows may be affected
  • Exposed database credentials or connected services could increase

downstream risk

  • Error responses may disclose schema or query information

General mitigation guidance

Mitigation generally centers on making database queries data-only by using parameterized statements, prepared queries, or trusted query-builder abstractions. Input validation can reduce unexpected values but should not replace query parameterization. Reducing input trust, limiting database account privileges, separating application and administrative credentials, suppressing detailed database errors, and applying secure-by-default authorization controls can further limit impact. Database access should be restricted to the operations required by the application.

How teams detect issues like this

Detection approaches include static analysis for string-built SQL statements, concatenation or interpolation of request parameters into queries, and database APIs that do not bind parameters. Code reviews can examine addnewstudent.php and adjacent data-access paths for missing prepared statements, inconsistent validation, and verbose database error handling. Runtime monitoring may correlate unusual query errors, unexpected database reads or writes, and anomalous requests. Automated code-review and application-security tools can help enforce parameterized-query policies.

Sources

SourceLink
github.comgithub.com/vinniboy021-blip/Advisory/blob/main/addnewstudent-sqli.md
vuldb.comvuldb.com/cve/CVE-2026-100874
vuldb.comvuldb.com/submit/915272
vuldb.comvuldb.com/vuln/410804
vuldb.comvuldb.com/vuln/410804/cti

Frequently asked

questions

The disclosure indicates that exploitation may be initiated remotely, provided

the affected web functionality is reachable and accepts attacker-controlled

input.

Not necessarily. The required access depends on the application's

authentication and authorization rules for addnewstudent.php.

Use parameterized queries or prepared statements for every value that reaches

the database, while applying strict validation and least-privilege database

permissions as additional controls.

Standardize safe data-access abstractions, prohibit ad hoc SQL construction,

review request-to-query data flows, and enforce automated checks for

unparameterized queries during development.

Find out what's already
exploitable in your codebase.