InjectionWeakness · CWE-74

CVE-2026-10227

HIGH · 7.3 CVSS v3.1 Published 2026-06-01
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
82/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A vulnerability has been found in raisulislamg4 student_management_system_by_php up to 310d950e09013d5133c6b9210aff9444382d16d1. The affected element is an unknown function of the file add_user_check.php of the component User Creation Handler. The manipulation of the argument role leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The project was informed of the problem early through an issue report but has not responded yet.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

SQL injection vulnerability in the User Creation Handler of add_user_check.php where the 'role' parameter is not properly sanitized before being used in SQL queries. An attacker can manipulate the role argument to inject arbitrary SQL commands, potentially allowing unauthorized data access or manipulation of the user database.

MitigationReplace dynamic SQL queries with parameterized queries/prepared statements for the role parameter and all user input in add_user_check.php. Implement proper input validation and ensure the principle of least privilege for database connections.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate the vulnerable PHP file
    Search the web root for add_user_check.php - common paths include /admin/, /user/, or /include/ directories. Use: find /var/www -name 'add_user_check.php' 2>/dev/null
    Affected if The file exists in the application directory tree and is readable by the web server process
  2. Verify the role parameter is processed
    Examine add_user_check.php and look for code handling the 'role' parameter - search for $_POST['role'], $_GET['role'], or Request::param('role') patterns
    Affected if The file processes a 'role' parameter without visible input sanitization or prepared statements
  3. Confirm lack of parameterized queries
    Grep the file for 'prepare', 'bindParam', 'bindValue', or 'execute' statements around the role parameter usage: grep -E '(prepare|bindParam|bindValue)' add_user_check.php
    Affected if No prepared statement or parameter binding is found in the code handling the role parameter
  4. Check if user creation is exposed without authentication
    Review the file's authentication checks at the top - look for session_start(), isLoggedIn(), or auth middleware inclusions. If none exist before the SQL query, the endpoint is unauthenticated
    Affected if No authentication check or session validation appears before the SQL operation on the role parameter
  5. Test if the endpoint is accessible externally
    Attempt a HEAD/GET request to the add_user_check.php endpoint from an unauthenticated context or check web server access logs for requests to this file
    Affected if The endpoint responds to unauthenticated requests (HTTP 200 or other valid response rather than 401/403)

The environment is affected if add_user_check.php exists, processes a 'role' parameter without parameterized queries, and is accessible without authentication.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Replace dynamic SQL queries with parameterized queries/prepared statements for the role parameter and all user input in add_user_check.php. Implement proper input validation and ensure the principle of least privilege for database connections.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-10227 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-10227 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data