Advisory record · GHSA-9w56-46f6-3qhx

asteval Sandbox Escape: arbitrary native memory read/write via numpy ctypes in default asteval Interpreter

CVSS 5.5 MediumEPSS 0.0013 · 2nd percentile

Published by the GitHub Advisory Database at 20 Aug 2026, 17:26 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
astevalPyPI<1.0.91.0.9
Identifiers
GHSA-9w56-46f6-3qhx · CVE-2026-102734
Weakness (CWE)
CWE-693 · CWE-749 · CWE-913
Published
20 Aug 2026
Updated
14 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of the asteval package before 1.0.9 are affected. With numpy enabled, which is the default, an attacker who can supply expressions to the Interpreter can reach ctypes types through numpy and read and write arbitrary process memory, which amounts to arbitrary code execution and a full sandbox escape. Upgrade asteval to 1.0.9 or later. Until then, construct the Interpreter with use_numpy=False.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.5 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0013, the 2nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.