CVE-2024-50636
PyMOL Command Execution through Malicious .PYM Files
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.
INFO
Published Date :
Nov. 11, 2024, 11:15 p.m.
Last Modified :
June 17, 2026, 8:04 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Monitor for vendor patches and updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-50636.
| URL | Resource |
|---|---|
| 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 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-50636 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-50636
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-50636 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50636 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'n/a', 'product': 'n/a', 'versions': [{'status': 'affected', 'version': 'n/a'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:schrodinger:pymol:2.5.0:*:*:*:*:*:*:*'], 'vendor': 'schrodinger', 'product': 'pymol', 'versions': [{'status': 'affected', 'version': '2.5.0'}], 'defaultStatus': 'unknown'}] Added SSVC {'id': 'CVE-2024-50636', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2024-11-19T19:06:20.740808Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 19, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-94 Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Received by [email protected]
Nov. 11, 2024
Action Type Old Value New Value Added 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. Added Reference MITRE https://github.com/schrodinger/pymol-open-source/issues/405 [No types assigned] Added Reference MITRE https://github.com/yamerooo123/CVE/blob/main/CVE-2024-50636/Description.md [No types assigned] Added Reference MITRE https://youtu.be/SWnN_a1tUNc [No types assigned]