Skip to content
MediumVulnerability

CVE-2026-104022: Academy LMS WordPress plugin privilege escalation via add_child() flow

Identifier
CVE-2026-104022
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

The Academy LMS plugin for WordPress, all versions up to and including 4.0.3, has a privilege escalation flaw (CVE-2026-104022). The add_child() function calls add_role('academy_student') on any existing account matched by an attacker-supplied email before Store::link() validates the guardian-ward relationship, and it does not roll back that role change when Store::link() returns a WP_Error. An authenticated user with the academy_guardian role or higher can thus raise any existing account, including their own, to academy_student, gaining edit_posts capabilities and, when the student file-upload setting is enabled, upload_files capabilities.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.