# CVE-2025-47942: Learners on edX Platform can download python\_lib.zip

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.64% (percentile 45, 2026-11-28)
- **CWE:** CWE-862
- **Published:** 2025-05-21T21:15:06.165Z
- **Modified:** 2026-06-17T09:28:52.477Z

## Who should check

- Anyone running openedx edx-platform \< 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba

## Description

The Open edX Platform is a learning management platform. Prior to commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, edxapp has no built-in protection against downloading the python\_lib.zip asset from courses, which is a concern since it often contains custom grading code or answers to course problems. This potentially affects any course using custom Python-graded problem blocks. The openedx/configuration repo has had a patch since 2016 in the form of an nginx rule, but this was only intended as a temporary mitigation. As the configuration repo has been deprecated and we have not been able to locate any similar protection in Tutor, it is likely that most deployments have no protection against python\_lib.zip being downloaded. The recommended mitigation, implemented in commit 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba, restricts python\_lib.zip downloads to just the course team and site staff/superusers.

## Affected and fixed versions

- openedx edx-platform: \< 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba (cvelist)

## Mitigation

- Upgrade edx-platform to 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-47942. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-47942.md
Affected: openedx edx-platform < 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba
Fixed in: openedx edx-platform 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba

Steps:
1. Search this machine and project for openedx edx-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-47942 being exploited?

There is no confirmed exploitation: CVE-2025-47942 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.64% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-47942?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-47942?

openedx edx-platform \< 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba.

### Is there a fix for CVE-2025-47942?

Yes. Fixed in openedx edx-platform 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba. Upgrade edx-platform to 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba or later.

### How do I check if I'm affected by CVE-2025-47942?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/openedx/edx-platform/security/advisories/GHSA-x5cm-2hpq-pw57>
- patch: <https://github.com/openedx/edx-platform/commit/6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba>
- other: <https://github.com/edx/configuration/blob/3471fc036a6664cedd3e2d78403dca73bc1cda51/playbooks/roles/nginx/templates/edx/app/nginx/sites-available/python_lib.zip.j2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-47942>

HTML: <https://flawdb.com/CVE-2025-47942> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-47942>
