---
id: CVE-2026-32640
title: >-
  SimpleEval is a library for adding evaluatable expressions into python
  projects
summary: >-
  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…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
  - CWE-915
  - CWE-915
vendor: danthedeckie
product: simpleeval
affected:
  - simpleeval < 1.0.5
patched:
  - simpleeval 1.0.5
published: '2026-03-16'
updated: '2026-07-10'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-32640'
references:
  - url: >-
      https://github.com/danthedeckie/simpleeval/security/advisories/GHSA-44vg-5wv2-h2hg
    label: security-advisories@github.com
  - url: 'https://lists.debian.org/debian-lts-announce/2026/04/msg00023.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://access.redhat.com/errata/RHSA-2026:10184'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:37275'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-32640'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2447529'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32640.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00524
epssPercentile: 0.43451
ingestedAt: '2026-07-10T13:03:45.491Z'
---

## Overview

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.

## Affected

- `simpleeval < 1.0.5`

## Remediation

Upgrade past the affected range:

- `simpleeval 1.0.5`
