Academy LMS <= 4.0.3 - Authenticated (Custom+) Privilege Escalation to add_child REST endpoint

5.4
Improper Privilege Management
CVE CVE-2026-104022
CVSS 5.4 (Medium)
Publicly Published October 9, 2026
Last Updated October 10, 2026
Researcher Wordfence PRISM - Wordfence

Description

The Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.0.3. This is due to the `add_child()` function calling `add_role('academy_student')` on any existing account resolved from the attacker-supplied `email` parameter before `Store::link()` validates the guardian-ward relationship, and failing to roll back that role write when `Store::link()` returns a `WP_Error`. This makes it possible for authenticated attackers with the `academy_guardian` role or higher to elevate any existing WordPress account — including their own — to the `academy_student` role, gaining `edit_posts` (Contributor-equivalent) capabilities and, when the student file-upload setting is enabled, `upload_files` (Author-equivalent) capabilities not granted to the guardian role. When a guardian supplies their own email address, `email_exists()` resolves to their own user ID, causing `Store::link()` to reject the self-link, but because the `add_role()` call has already executed and is never reversed, the academy_student role grant on their own account persists permanently.

References

Share

Vulnerability Details for Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning

Software Type Plugin
Software Slug academy (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.0.4, or a newer patched version
Affected Version
  • <= 4.0.3
Patched Version
  • 4.0.4

Recent vulnerabilities in Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning

# Title CVE ID CVSS Researchers Date
1 Academy LMS <= 4.0.3 - Missing Authorization to Authenticated (Custom+) Arbitrary Academy Comment Deletion via delete_lesson_comment AJAX — Attacker-Controlled course_id vs. Target comment_id CVE-2026-104915 6.5 Wordfence PRISM October 9, 2026
2 Academy LMS <= 3.0.0 - Authenticated (Subscriber+) Insecure Direct Object Reference CVE-2026-104050 4.3 Morato Antoine October 5, 2026
3 Academy LMS <= 3.0.0 - Authenticated (Subscriber+) Insecure Direct Object Reference CVE-2026-104049 4.3 Morato Antoine October 5, 2026
4 Academy LMS <= 4.0.1 - Authenticated (Contributor+) Arbitrary HTML File Read via 'id' Parameter in /wp/v2/templates REST Route CVE-2026-120544 4.3 Wordfence PRISM October 2, 2026
5 Academy LMS <= 3.8.2 - Authenticated (Subscriber+) Information Exposure CVE-2026-12376 4.3 Stefan Spasic August 4, 2026
6 Academy LMS <= 3.8.2 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Lesson Content Disclosure CVE-2026-16563 4.3 Pedro Pinho July 24, 2026
7 Academy LMS <= 3.8.0 - Authenticated (Subscriber+) Insecure Direct Object Reference via 'user_id' Parameter CVE-2026-9341 4.3 sorawautsukushiii July 13, 2026
8 Academy LMS <= 3.8.1 - Unauthenticated Insecure Direct Object Reference to Private Topic Disclosure CVE-2026-5348 5.3 Md. Moniruzzaman Prodhan (NomanProdhan) July 1, 2026
9 Academy LMS <= 3.8.0 - Insecure Direct Object Reference to Authenticated (Subscriber+) Note/Progress Modification CVE-2026-14184 4.3 Mustafa Ahmed June 30, 2026
10 Academy LMS <= 3.5.3 - Missing Authorization CVE-2026-25372 4.3 Jakub Herman February 17, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation