# CVE-2025-47942: Learners on edX Platform can download python_lib.zip

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2025-05-21T21:15:06.165Z
- Modified: 2026-06-17T09:28:52.477Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openedx edx-platform: < 6740e75c0fdc7ba095baf88e9f5e4f3e15cfd8ba

## References

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

## Sources

- CVE List: [CVE-2025-47942](https://www.cve.org/CVERecord?id=CVE-2025-47942), CVE Terms of Use, modified 2025-05-22
- NVD: [CVE-2025-47942](https://nvd.nist.gov/vuln/detail/CVE-2025-47942), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47942 · Whole record: https://cve.day/CVE-2025-47942.json · Rebuilt by cve.day 2026-11-25T22:58:58.373Z
