4.3medium
Open edX Platform: Path traversal via prefix-bypass in safe_extractall Path Validation
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 33% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Open edX Platform enables the authoring and delivery of online learning at any scale. From Aspen.1 until Ulmo and Verawood.1, openedx/core/lib/extract_archive.py uses _is_bad_path to validate safe_extractall targets by comparing resolved path strings with startswith instead of comparing path components. A course author or staff user with course import permission can submit a crafted .tar.gz archive through the import_olx flow initiated by cms.djangoapps.contentstore.views.import_export.import_handler. An archive member can therefore escape into a sibling course staging directory whose name shares the attacker's base64 directory prefix, causing limited cross-tenant file corruption. Zip archives are not practically affected because ZipFile.extractall strips parent traversal segments, and the advisory does not establish arbitrary filesystem writes, file reads, or direct code execution. This issue is fixed in Ulmo and Verawood.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| openedx openedx-platform | >= release/aspen.1, < release/ulmo.4, >= release/aspen.1, < release/verawood.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-85272 changed 2026-09-21 | CVE Terms of Use |
| NVD | CVE-2026-85272 changed 2026-09-24 | Public domain |