Academy LMS <= 4.0.3 — Authenticated (Custom+) Privilege Escalation to add_child REST endpoint
CVE-2026-104022Published · Updated Action summary
Affected: ≤4.0.3Update to 4.0.4 or newer
All remediation steps- Severity
- Medium5.4
- CVSS
- 5.4CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:LPrivileges required- Low
UI:NUser interaction- None
S:UScope- Unchanged
C:LConfidentiality- Low
I:LIntegrity- Low
A:NAvailability- None
- Weakness
- CWE-269 Privilege Escalation
- Required access
- Unknown
- Exploit prediction (EPSS)
- 0.1% chance in 30 days2th percentile
- CISA KEV
- Not listed
On this page8
Am I affected?
Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning academy
- Affected≤ 4.0.3
- Patched in4.0.4
Update to 4.0.4 or newer.
You are affected if you run ≤ 4.0.3. Version 4.0.4 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 4.0.4, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Wordfence PRISM.
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in Academy LMS – AI Course Builder, Quizzes, Certificates & eLearning
All 21| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Medium6.5 | Missing Authorization to Authenticated (Custom+) Arbitrary Academy Comment Deletion via delete_lesson_comment AJAX — Attacker-Controlled course_id vs. Target comment_id ≤4.0.3Update to 4.0.4 | CVE-2026-104915 | |
| Medium4.3 | Authenticated (Subscriber+) Insecure Direct Object Reference ≤3.0.0Update to 4.0.0 | CVE-2026-104049 | |
| Medium4.3 | Authenticated (Subscriber+) Insecure Direct Object Reference ≤3.0.0Update to 4.0.0 | CVE-2026-104050 | |
| Medium4.3 | Authenticated (Contributor+) Arbitrary HTML File Read via 'id' Parameter in /wp/v2/templates REST Route ≤4.0.1Update to 4.0.2 | CVE-2026-120544 | |
| Medium4.3 | Authenticated (Subscriber+) Information Exposure ≤3.8.2No patch available | CVE-2026-12376 |
- Medium6.5Missing Authorization to Authenticated (Custom+) Arbitrary Academy Comment Deletion via delete_lesson_comment AJAX — Attacker-Controlled course_id vs. Target comment_id
≤4.0.3Update to 4.0.4
- Medium4.3Authenticated (Subscriber+) Insecure Direct Object Reference
≤3.0.0Update to 4.0.0
- Medium4.3Authenticated (Subscriber+) Insecure Direct Object Reference
≤3.0.0Update to 4.0.0
- Medium4.3Authenticated (Contributor+) Arbitrary HTML File Read via 'id' Parameter in /wp/v2/templates REST Route
≤4.0.1Update to 4.0.2
- Medium4.3Authenticated (Subscriber+) Information Exposure
≤3.8.2No patch available
Same weakness (Privilege Escalation)
All Privilege Escalation| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity medium, CVSS 5.4
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- EPSS
- Exploit Prediction Scoring System by FIRST.org.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
