# CVE-2024-50636: PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.25%, higher than 70% of CVEs (2026-12-01)
- Published: 2024-11-11T00:00:00.000Z
- Modified: 2026-06-17T08:04:51.253Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

PyMOL 2.5.0 contains a vulnerability in its "Run Script" function, which allows the execution of arbitrary Python code embedded within .PYM files. Attackers can craft a malicious .PYM file containing a Python reverse shell payload and exploit the function to achieve Remote Command Execution (RCE). This vulnerability arises because PyMOL treats .PYM files as Python scripts without properly validating or restricting the commands within the script, enabling attackers to run unauthorized commands in the context of the user running the application.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- schrodinger pymol: 2.5.0

## References

- <https://github.com/schrodinger/pymol-open-source/issues/405>
- <https://github.com/yamerooo123/CVE/blob/main/CVE-2024-50636/Description.md>
- <https://youtu.be/SWnN_a1tUNc>

## Sources

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

---

Page: https://cve.day/CVE-2024-50636 · Whole record: https://cve.day/CVE-2024-50636.json · Rebuilt by cve.day 2026-11-25T22:58:48.052Z
