Description
The teacher-end interface POST /api/teacher/user/delete/{id} in XueZhiSi Open Source Exam System <= 3.9.0 contains a vertical privilege escalatio vulnerability. This interface accepts a user ID and then executes getUserById(id), setDeleted(true), updateByIdFilter() in sequence, without any validation of whether the current user has the authority to delete the target user. An authenticated teacher user (role=2) can delete an administrator account (role=3), constituting a vertical privilege escalation where a lower-privileged user performs a high-privileged operation.
Published: 2026-08-31
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The teacher‑end API endpoint /api/teacher/user/delete/{id} in the XueZhiSi Open Source Exam System accepts a user identifier and executes a delete operation without verifying that the authenticated teacher has authority to remove that user. An authenticated teacher (role=2) can therefore delete an administrator account (role=3). This represents a vertical privilege escalation that allows a lower‑privileged user to perform a high‑privileged operation and can lead to compromise of administrative controls, data loss, or further abuse of system capabilities.

Affected Systems

XueZhiSi Open Source Exam System versions 3.9.0 and any earlier release are affected. The vulnerability is present in the teacher‑end interface of the open‑source code base and has been identified in repositories prior to the 3.9.0 release.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating no known widespread exploitation. However, the vulnerability is exploitable by any authenticated teacher user within the system, with no external attack vector. Because the flaw allows elevation of privileges from teacher to administrator, the potential impact on confidentiality, integrity, and availability is high. The CVSS score is not given, but the nature of the weakness suggests a high severity rating. Attackers would need to have valid teacher credentials and be able to invoke the delete endpoint, but once in place they can remove administrator accounts and potentially compromise the entire system.

Generated by OpenCVE AI on August 31, 2026 at 21:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the patched version that implements proper privilege checks for the delete operation, such as applying the patch referenced in the GitHub commit 1258129581: patch-2.
  • Modify the application logic to enforce role‑based access control so that only users with the administrator role (role=3) can execute delete operations; remove or disable the delete API for any other roles.
  • Review and restrict any remaining delete permissions for teacher accounts in the configuration or database, ensuring that role=2 users cannot perform high‑privilege actions.

Generated by OpenCVE AI on August 31, 2026 at 21:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Title Vertical Privilege Escalation in XueZhiSi Teacher Delete User Endpoint
Weaknesses CWE-277
CWE-285

Mon, 31 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Description The teacher-end interface POST /api/teacher/user/delete/{id} in XueZhiSi Open Source Exam System <= 3.9.0 contains a vertical privilege escalatio vulnerability. This interface accepts a user ID and then executes getUserById(id), setDeleted(true), updateByIdFilter() in sequence, without any validation of whether the current user has the authority to delete the target user. An authenticated teacher user (role=2) can delete an administrator account (role=3), constituting a vertical privilege escalation where a lower-privileged user performs a high-privileged operation.
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-31T20:14:13.590Z

Reserved: 2026-08-17T00:00:00.000Z

Link: CVE-2026-75458

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T21:17:48.393

Modified: 2026-08-31T21:17:48.393

Link: CVE-2026-75458

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T22:00:06Z

Weaknesses
  • CWE-277

    Insecure Inherited Permissions

  • CWE-285

    Improper Authorization