Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2024-53924 EUVD-2025-12282GHSA-pw67-xjhq-389wPYSEC-2025-177

Pycel allows code injection via a crafted formula

Published Apr 17, 2025 · Updated Apr 22, 2025 · 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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pycel <= 1.0b30 — GHSA-pw67-xjhq-389w
PyPI pycel <= 1.0-beta0 · <= 1.0-beta11 · <= 1.0-beta12 · <= 1.0-beta13 · <= 1.0-beta14 · <= 1.0-beta15 · <= 1.0-beta16 · <= 1.0-beta17 · <= 1.0-beta18 · <= 1.0-beta19 · <= 1.0-beta2 · <= 1.0-beta20 · <= 1.0-beta21 · <= 1.0-beta22 · <= 1.0-beta26 · <= 1.0-beta27 · <= 1.0-beta28 · <= 1.0-beta29 · <= 1.0-beta3 … — PYSEC-2025-177

References