GitHub Advisoryadvisory · PyPI
GHSA-pw67-xjhq-389w Pycel allows code injection via a crafted formula
HIGH
Official page ↗
- Aliases
- CVE-2024-53924
- Ecosystem
- PyPI
- Packages
- pycel
- Severity
- High
- CVSS vector
- 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
- Weaknesses
- CWE-94
- Reviewed
- 2025-04-22
Affected packages
• PyPI pycel: <= 1.0b30 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2024-53924 Pycel through 1.0b30, when operating on an untrusted spreadsheet, allows code execution via a crafted formula in a cell, such as one… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-53924 advisory
- https://gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287 web
- https://github.com/dgorissen/pycel web
- https://github.com/pypa/advisory-database/tree/main/vulns/pycel/PYSEC-2025-177.yaml web
- https://github.com/stephenrauch/pycel package
- https://pypi.org/project/pycel web