CVE-2025-24359: Checkov · ASTEVAL Allows Maliciously Crafted Format Strings to Lead to Sandbox Escape
Affects checkovSource GCVE Database
Not known to be exploited · CVSS 8.4 High : upgrade to 3.2.490 soon.
Data as of 1 Nov 2026, 11:02 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.2.490
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Upgrade checkov to 3.2.490.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewcheckovpkg:brew/checkovOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade Checkov to version 3.2.490 or later to remediate the issue. No additional mitigation steps are required if the patch is applied.
Description
A vulnerability in the asteval library used by Checkov allows attackers controlling input to bypass sandbox restrictions and execute arbitrary Python code. This occurs due to unsafe handling of formatted string AST nodes, enabling crafted format strings to escape the sandbox. The flaw can be exploited to access protected attributes and execute system commands. A proof-of-concept demonstrates executing the 'whoami' command on the host. The vulnerability affects Checkov versions from 3.2.420 up to but not including 3.2.490. A patch is available to remediate this issue.
References
- github.com/lmfit/asteval/security/advisories/GHSA-3wwr-3g9f-9gc7 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-24359 (opens in a new tab)
- github.com/lmfit/asteval/commit/45bb47533f7abb5479618ae7f6a809215700dcb2 (opens in a new tab)
- github.com/lmfit/asteval (opens in a new tab)
- github.com/lmfit/asteval/blob/cfb57f0beebe0dc0520a1fbabc35e66060c7ea71/asteval/asteval.py (opens in a new tab)
- lucumr.pocoo.org/2016/12/29/careful-with-str-format (opens in a new tab)