CVE-2026-85272
published medium CVSS 3.1 · 4.3Open edX Platform: Path traversal via prefix-bypass in safe_extractall Path Validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openedx | — | openedx-platform>= release/aspen.1, < release/ulmo.4 · >= release/aspen.1, < release/verawood.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openedx | openedx-platform | >= release/aspen.1, < release/ulmo.4 (affected)>= release/aspen.1, < release/verawood.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- https://github.com/openedx/openedx-platform/commit/8422334e2063015a28b6460a34aa4bb4d8ae1ca8
- https://github.com/openedx/openedx-platform/commit/97de0586d878936c9f97c03fdaa20346ee8eac29
- https://github.com/openedx/openedx-platform/commit/e552907ff33a7b2e53f99b819123c9dacdfc127a
- https://github.com/openedx/openedx-platform/releases/tag/release/ulmo.4
- https://github.com/openedx/openedx-platform/releases/tag/release/verawood.1
- https://github.com/openedx/openedx-platform/security/advisories/GHSA-6cmm-8875-5pcw
Provider assertions
2GitHub_M · cna
Open edX Platform: Path traversal via prefix-bypass in safe_extractall Path Validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e555b94bc73eb1db2281883492c001ac2d422f3a60904081c8878ed3f3ccf1ef
- Ingested
- 23 Sep 2026, 09:36:40 UTC
- Source record
- Official CVE record