CVE-2024-53924

CRITICAL

Pycel through 1.0b30 - Remote Code Execution via Crafted Spreadsheet Formula

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-53924. PoCs published by aelmosalamy.

AI-analyzed exploit summary This PoC demonstrates a code execution vulnerability in Pycel through 1.0b30, where crafted Excel formulas bypass validation and execute arbitrary Python code via the `eval` function. The exploit leverages conditional logic (e.g., `IF`) to trigger payload execution when specific cell conditions are met.

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.

Exploits (1)

nomisec WORKING POC 5 stars
by aelmosalamy · poc
https://github.com/aelmosalamy/CVE-2024-53924

This PoC demonstrates a code execution vulnerability in Pycel through 1.0b30, where crafted Excel formulas bypass validation and execute arbitrary Python code via the `eval` function. The exploit leverages conditional logic (e.g., `IF`) to trigger payload execution when specific cell conditions are met.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Pycel (versions up to 1.0b30)
No auth needed
Prerequisites: A malicious Excel file with crafted formulas · Pycel library installed in the target environment
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 9.8
EPSS 0.0094
EPSS Percentile 76.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-94
Status published
Products (2)
dgorissen/pycel 1.0 beta0 (25 CPE variants)
pypi/pycel 0 - 1.0b30PyPI
Published Apr 17, 2025
Tracked Since Feb 18, 2026