# CVE-2024-53924: Pycel allows code injection via a crafted formula

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-17T00:00:00.000Z
- Modified: 2026-06-17T08:09:30.563Z
- Also known as: GHSA-pw67-xjhq-389w, PYSEC-2025-177
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- 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; up to 1.0-beta17; up to 1.0-beta18; up to 1.0-beta19; up to 1.0-beta2; and 14 more
- dgorissen pycel: 1.0

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287> (exploit, evidence, third-party-advisory, web)
- <https://pypi.org/project/pycel/> (package, product)
- <https://github.com/stephenrauch/pycel> (package, product)
- <https://github.com/dgorissen/pycel> (package, product, 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

- CVE List: [CVE-2024-53924](https://www.cve.org/CVERecord?id=CVE-2024-53924), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-pw67-xjhq-389w](https://github.com/advisories/GHSA-pw67-xjhq-389w), CC-BY-4.0, modified 2026-06-08
- NVD: [CVE-2024-53924](https://nvd.nist.gov/vuln/detail/CVE-2024-53924), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-177](https://osv.dev/vulnerability/PYSEC-2025-177), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2024-53924 · Whole record: https://cve.day/CVE-2024-53924.json · Rebuilt by cve.day 2026-11-25T22:58:52.548Z
