Executive brief
The LearnPress Backup & Migration Tool, a WordPress plugin used for managing site data, contains a security flaw that allows administrators to access files they should not be able to see. By exploiting this vulnerability, an authorized user with high-level permissions could read sensitive configuration files or system data from the web server. This could lead to the exposure of credentials or other private information stored on the hosting environment.
Technical details
The LearnPress – Backup & Migration Tool plugin for WordPress is vulnerable to arbitrary file reading due to improper path validation in the 'import-user-file' parameter. This directory traversal vulnerability (CWE-22) allows authenticated attackers with administrator-level privileges to bypass intended directory restrictions. By supplying specially crafted paths, an attacker can read the contents of sensitive files on the server. The issue exists in the class-lp-import-user-data.php component and is addressed in versions following 4.1.4.
Affected products
- LearnPress LearnPress – Backup & Migration Tool up to, and including, 4.1.4
Timeline
- 2026-06-06: disclosed
- 2026-06-06: advisory
References
- https://plugins.trac.wordpress.org/browser/learnpress-import-export/tags/4.1.1/inc/admin/providers/learnpress/class-lp-import-user-data.php
- https://plugins.trac.wordpress.org/browser/learnpress-import-export/tags/4.1.1/inc/admin/providers/learnpress/class-lp-import-user-data.php
- https://plugins.trac.wordpress.org/browser/learnpress-import-export/tags/4.1.4/inc/admin/providers/learnpress/class-lp-import-user-data.php
- https://plugins.trac.wordpress.org/browser/learnpress-import-export/tags/4.1.4/inc/admin/providers/learnpress/class-lp-import-user-data.php
- https://plugins.trac.wordpress.org/browser/learnpress-import-export/trunk/inc/admin/providers/learnpress/class-lp-import-user-data.php
- https://plugins.trac.wordpress.org/browser/learnpress-import-export/trunk/inc/admin/providers/learnpress/class-lp-import-user-data.php
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3546889%40learnpress-import-export&new=3546889%40learnpress-import-export&sfp_email=&sfph_mail=