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: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Vertical Privilege Escalation
Action: Apply patch immediately
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 < 1% 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 8.1, reflecting 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 September 2, 2026 at 06: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 September 2, 2026 at 06:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Sep 2026 07:15:00 +0000

Type Values Removed Values Added
Title Vertical Privilege Escalation via Teacher Deletion Endpoint

Wed, 02 Sep 2026 05:30:00 +0000

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

Tue, 01 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-639
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Xuezhisi
Xuezhisi open Source Exam System
Vendors & Products Xuezhisi
Xuezhisi open Source Exam System

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

Xuezhisi Open Source Exam System
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-01T14:44:57.796Z

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

Link: CVE-2026-75458

cve-icon Vulnrichment

Updated: 2026-09-01T14:43:50.662Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-09-01T21:00:36.830

Link: CVE-2026-75458

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-02T07:00:13Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key