Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pycel
  4. ›
  5. CVE-2024-53924

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

April 17, 2025 (updated April 22, 2025)

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

  • gist.github.com/aelmosalamy/cb098e61939718d2bb248fd1cc94f287
  • github.com/advisories/GHSA-pw67-xjhq-389w
  • github.com/dgorissen/pycel
  • github.com/stephenrauch/pycel
  • nvd.nist.gov/vuln/detail/CVE-2024-53924
  • pypi.org/project/pycel

Code Behaviors & Features

Detect and mitigate CVE-2024-53924 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.0b30

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/pycel/CVE-2024-53924.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.