critical9.8
CVE-2024-53924
Pycel allows code injection via a crafted formula
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pycel | <= 1.0b30 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dgorissen | Pycel | Version 1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287
- https://github.com/dgorissen/pycel
- https://github.com/stephenrauch/pycel
- https://pypi.org/project/pycel/
- https://github.com/advisories/GHSA-pw67-xjhq-389w
- https://nvd.nist.gov/vuln/detail/CVE-2024-53924
- https://pypi.org/project/pycel
- https://github.com/pypa/advisory-database/tree/main/vulns/pycel/PYSEC-2025-177.yaml