Skip to main content
Vulnerability Database/CVE-2026-112328

CVE-2026-112328: Sensei LMS Auth Bypass Vulnerability

CVE-2026-112328 is an authentication bypass flaw in Sensei LMS WordPress plugin allowing Teacher-role attackers to modify arbitrary courses. This post explains its technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112328 Overview

CVE-2026-112328 is a broken access control vulnerability in the Sensei LMS WordPress plugin before version 4.26.4. The flaw exists in the add_new_module_term AJAX handler. Authenticated attackers with the Teacher role can assign module taxonomy terms to courses they do not own. The handler validates only a generic nonce and checks manage_options solely for slug prefixing. It never verifies whether the caller has permission to edit the target course. This allows unauthorized modification of course content owned by other teachers or administrators [CWE-862].

Critical Impact

Authenticated Teacher-role users can modify module taxonomy assignments on arbitrary courses, including those owned by administrators, through a crafted course_id parameter.

Affected Products

  • Sensei LMS WordPress plugin versions prior to 4.26.4
  • WordPress sites exposing the Teacher role via the plugin
  • Multi-instructor learning platforms built on Sensei LMS

Discovery Timeline

  • 2026-10-19 - CVE-2026-112328 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112328

Vulnerability Analysis

The Sensei LMS plugin exposes an AJAX endpoint named add_new_module_term that creates and assigns module taxonomy terms to courses. The handler calls wp_set_object_terms against the course_id supplied in the request. The authorization logic performs two insufficient checks. First, it validates a generic plugin nonce that any authenticated Teacher can obtain from their own course metabox. Second, it consults the manage_options capability only to decide whether to prefix the term slug, not to gate the write operation.

Because the handler never confirms the caller owns or can edit the target course, any Teacher-role user can post a crafted request containing another user's course_id. The write succeeds against courses belonging to other teachers or administrators. The result is unauthorized tampering with course taxonomy associations across tenant boundaries inside a single WordPress site.

Root Cause

The root cause is a missing authorization check [CWE-862]. The handler conflates nonce validity with permission to act on the target object. WordPress nonces are intended to prevent cross-site request forgery, not to enforce object-level access control. A proper implementation would call current_user_can('edit_post', $course_id) before invoking wp_set_object_terms.

Attack Vector

An attacker needs an authenticated session with the Teacher role on the target WordPress site. The attacker loads the module metabox on a course they own to capture a valid nonce. They then issue an AJAX POST to admin-ajax.php with action=add_new_module_term, the captured nonce, and the course_id of a victim course. The server applies the taxonomy change without further checks. No user interaction from the victim is required. Technical details are available in the VulnCheck advisory.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-112328

Indicators of Compromise

  • Unexpected wp_set_object_terms entries in the wp_term_relationships table linking module terms to courses outside the originating teacher's ownership
  • Repeated POST requests to /wp-admin/admin-ajax.php with action=add_new_module_term from a single Teacher-role account targeting multiple course_id values
  • Course revision history showing module taxonomy changes attributed to users who are not the course author

Detection Strategies

  • Correlate admin-ajax.php requests with action=add_new_module_term against the authenticated user and the post_author of the referenced course_id
  • Enable WordPress audit logging to capture taxonomy term assignments and compare the acting user against course ownership metadata
  • Review web server access logs for Teacher-role sessions issuing bursts of module term requests across many course identifiers

Monitoring Recommendations

  • Ingest WordPress and PHP-FPM logs into a centralized analytics platform and alert on anomalous AJAX action volumes per user
  • Monitor the wp_term_relationships and wp_posts tables for taxonomy changes performed by non-owning users
  • Track administrative dashboard activity for Teacher accounts that interact with courses outside their assigned catalog

How to Mitigate CVE-2026-112328

Immediate Actions Required

  • Upgrade the Sensei LMS plugin to version 4.26.4 or later on all WordPress instances
  • Audit existing courses for unauthorized module taxonomy assignments and revert unexpected changes
  • Review Teacher-role accounts and disable any that are unused or exhibit suspicious AJAX activity

Patch Information

The maintainers fixed the issue in Sensei LMS 4.26.4 by adding an ownership check before the taxonomy write. Refer to the Sensei LMS release notes for the full changelog and upgrade instructions.

Workarounds

  • Temporarily restrict the Teacher role or require administrator approval for module creation until the patch is applied
  • Block POST requests to admin-ajax.php with action=add_new_module_term at the web application firewall for non-administrator sessions
  • Limit the plugin's AJAX endpoints to trusted IP ranges where feasible

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.