Description
The LearnDash LMS plugin for WordPress is vulnerable to Unrestricted File Type Upload in versions up to and including 5.1.5. This is due to insufficient input validation in the 'learndash_fileupload_process' function, which iterates through an entire array and validates only the first file. This makes it possible for authenticated attackers, with subscriber-level access and above who are enrolled in a course with assignment uploads enabled, to upload arbitrary disallowed files, including PHP files, to the server's wp-content/uploads/learndash/assignments/ directory. The uploaded files can only be used for Remote Code Execution if default server configurations have been changed to allow for execution.
Published: 2026-09-04
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Upload with potential Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the "learndash_fileupload_process" routine and allows an authenticated user with Subscriber-level access to upload files that bypass the intended whitelist. The flaw permits the upload of any file type, including PHP scripts, into the wp-content/uploads/learndash/assignments directory. Although the ability to execute code from this location depends on the server’s PHP configuration, the presence of executable files in a public directory presents a significant risk for remote code execution if default protections are altered.

Affected Systems

StellarWP’s LearnDash LMS plugin for WordPress is affected. All releases up to and including version 5.1.5 contain the flaw. Administrators should verify whether their site uses a vulnerable version of the plugin and assess the assignment upload settings for courses to which subscribers are enrolled.

Risk and Exploitability

The CVSS score of 7.5 places the issue in the high severity tier, and it is not listed as a known exploited vulnerability by CISA. Exploitation requires an authenticated session with at least subscriber privileges and the existence of enabled assignment uploads. The attacker must also rely on the server allowing execution of PHP in the uploads directory; many standard WordPress configurations block such execution. Consequently, while the probability of exploitation without an active exploit code is reduced, the potential impact remains severe and should be treated as a high-risk threat.

Generated by OpenCVE AI on September 4, 2026 at 14:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LearnDash LMS to version 5.1.6 or later.
  • Disable assignment uploads for all courses until a patch is applied.
  • Configure the wp-content/uploads/learndash/assignments directory to prevent execution of PHP or other scripts via .htaccess or server settings.

Generated by OpenCVE AI on September 4, 2026 at 14:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Stellarwp
Stellarwp learndash Lms
Wordpress
Wordpress wordpress
Vendors & Products Stellarwp
Stellarwp learndash Lms
Wordpress
Wordpress wordpress

Fri, 04 Sep 2026 13:45:00 +0000

Type Values Removed Values Added
Description The LearnDash LMS plugin for WordPress is vulnerable to Unrestricted File Type Upload in versions up to and including 5.1.5. This is due to insufficient input validation in the 'learndash_fileupload_process' function, which iterates through an entire array and validates only the first file. This makes it possible for authenticated attackers, with subscriber-level access and above who are enrolled in a course with assignment uploads enabled, to upload arbitrary disallowed files, including PHP files, to the server's wp-content/uploads/learndash/assignments/ directory. The uploaded files can only be used for Remote Code Execution if default server configurations have been changed to allow for execution.
Title LearnDash LMS <= 5.1.5 - Authenticated (Subscriber+) Arbitrary File Upload via Assignment Upload Handler
Weaknesses CWE-434
References
Metrics cvssV3_1

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


Subscriptions

Stellarwp Learndash Lms
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-04T17:57:53.607Z

Reserved: 2026-06-17T02:51:16.248Z

Link: CVE-2026-12483

cve-icon Vulnrichment

Updated: 2026-09-04T17:57:00.488Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T14:17:17.480

Modified: 2026-09-08T13:12:58.310

Link: CVE-2026-12483

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T14:45:18Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type