Advisory

PYSEC-2026-132

Also known as: CVE-2026-32640, GHSA-44vg-5wv2-h2hg

Summary

The record has no summary.

Details

SimpleEval is a library for adding evaluatable expressions into python projects. Prior to 1.0.5, objects (including modules) can leak dangerous modules through to direct access inside the sandbox. If the objects you've passed in as names to SimpleEval have modules or other disallowed / dangerous objects available as attrs. Additionally, dangerous functions or modules could be accessed by passing them as callbacks to other safe functions to call. The latest version 1.0.5 has this issue fixed. This vulnerability is fixed in 1.0.5.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-03-16 14:19 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

simpleeval

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.5 (ecosystem)

Fixed versions

1.0.5

Fix

  • Fixed version 1.0.5
    pip install --upgrade simpleeval==1.0.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences