CVE-2024-53924
JSON

9.8critical

Pycel allows code injection via a crafted formula

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.98% (higher than 63% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-pw67-xjhq-389wPYSEC-2025-177

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
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 and 18 moreGitHub Advisory Database, PyPA Advisory Database
dgorissen pycel1.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS: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 Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Pycel hasta la versión 1.0b30, cuando se opera en una hoja de cálculo no confiable, permite la ejecución de código a través de una fórmula creada en una celda, como una que comienza con la subcadena =IF(A1=200, eval("__import__('os').system( ).

References

Sources

SourceRecordLicence
CVE ListCVE-2024-53924 changed 2025-04-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-pw67-xjhq-389w changed 2026-06-08CC-BY-4.0
NVDCVE-2024-53924 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-177 changed 2026-06-10CC-BY-4.0