9.8critical
Pycel allows code injection via a crafted formula
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.98% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-pw67-xjhq-389wPYSEC-2025-177
Description
Pycel through 1.0b30, when operating on an untrusted spreadsheet, allows code execution via a crafted formula in a cell, such as one beginning with the =IF(A1=200, eval("__import__('os').system( substring.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pycel (PyPI) | up to 1.0b30, up to 1.0-beta0, up to 1.0-beta11, up to 1.0-beta12, up to 1.0-beta13, up to 1.0-beta14, up to 1.0-beta15, up to 1.0-beta16 and 18 more | GitHub Advisory Database, PyPA Advisory Database |
| dgorissen pycel | 1.0 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
Pycel through 1.0b30, when operating on an untrusted spreadsheet, allows code execution via a crafted formula in a cell, such as one beginning with the =IF(A1=200, eval("__import__('os').system( substring.
GitHub Advisory Database
Pycel through 1.0b30, when operating on an untrusted spreadsheet, allows code execution via a crafted formula in a cell, such as one beginning with the =IF(A1=200, eval("__import__('os').system( substring.
NVD (es)
Pycel hasta la versión 1.0b30, cuando se opera en una hoja de cálculo no confiable, permite la ejecución de código a través de una fórmula creada en una celda, como una que comienza con la subcadena =IF(A1=200, eval("__import__('os').system( ).
References
| https://pypi.org/project/pycel/ | package, product | |
| https://github.com/stephenrauch/pycel | package, product | |
| https://github.com/dgorissen/pycel | package, product, web | |
| https://gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287 | evidence, exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-53924 | advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/pycel/PYSEC-2025-177.yaml | web | |
| https://pypi.org/project/pycel | web | |
| https://github.com/advisories/GHSA-pw67-xjhq-389w | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53924 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pw67-xjhq-389w changed 2026-06-08 | CC-BY-4.0 |
| NVD | CVE-2024-53924 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2025-177 changed 2026-06-10 | CC-BY-4.0 |