CVE-2024-50636
published critical CVSS 3.1 · 9.8pymol: remote code execution via PYM script
Package status and fixes
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.
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
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| schrodinger | pymol | 2.5.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 705d97c3a507d69201be971e1b45c9c7dabd208d6f5711e9da99b76d3b26ebd8
- Ingested
- 23 Sep 2026, 08:30:08 UTC
- Source record
- Official CVE record