Open-source package vulnerability · PyPI
CVE-2024-53924: Pycel allows code injection via a crafted formula
highCVSS 4.0 8.9GHSA-pw67-xjhq-389w
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.
Published Apr 17, 2025 · Updated Jun 8, 2026
Affected packages
pycel
- Ecosystem
- PyPI
- Affected
- <= 1.0b30
- Fixed in
- No patched version yet
- Check
pip show pycel
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-53924
- https://gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287
- https://github.com/dgorissen/pycel
- https://github.com/stephenrauch/pycel
- https://pypi.org/project/pycel
- https://github.com/pypa/advisory-database/tree/main/vulns/pycel/PYSEC-2025-177.yaml
- https://github.com/advisories/GHSA-pw67-xjhq-389w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
