{"answers":{"affected":"3 open source packages ship an affected version, including simpleeval. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-32640 in the wild and no public exploit code.","fix":"Upgrade simpleeval to 1.0.5 or later.","what":"CVE-2026-32640 is a high-severity code injection vulnerability in danthedeckie simpleeval, published on 13 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-32640 and fix it if it is affected.\n\nWhat it is: CVE-2026-32640 is a high-severity code injection vulnerability in danthedeckie simpleeval, published on 13 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-32640 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- simpleeval (PyPI): affected all versions; fixed in 1.0.5\n- simpleeval (PyPI): affected all versions; fixed in 1.0.5\n- simpleeval (PyPI): affected all versions; fixed in 1.0.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-32640/ (Markdown: https://insights.sbomify.com/CVE-2026-32640/index.md)","id":"CVE-2026-32640","markdown":"https://insights.sbomify.com/CVE-2026-32640/index.md","name":"CVE-2026-32640","record":{"aliases":["DEBIAN-CVE-2026-32640","GHSA-44vg-5wv2-h2hg","PYSEC-2026-132","UBUNTU-CVE-2026-32640","USN-8301-1","openSUSE-SU-2026:10373-1","openSUSE-SU-2026:20393-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python expression evaluator","requires_auth":"none","summary":"Attackers can execute arbitrary code by leaking dangerous modules through object attributes in the SimpleEval sandbox.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"simpleeval","vendor":"danthedeckie"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"description":"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.","ecosystems":["PyPI","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"(SimpleEval) Objects (including modules) can leak dangerous modules through to direct access inside the sandbox.","id":"CVE-2026-32640","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":5,"n_references":1,"next":{"headline":"Parseable: Unauthenticated Denial of Service via panic in Kinesis header parsing middleware","id":"CVE-2026-32641"},"packages":[{"ecosystem":"PyPI","fixed":["1.0.5"],"introduced":["0"],"last_affected":[],"package":"simpleeval","purl":null,"source":"GHSA-44vg-5wv2-h2hg"},{"ecosystem":"PyPI","fixed":["1.0.5"],"introduced":["0"],"last_affected":[],"package":"simpleeval","purl":"pkg:pypi/simpleeval","source":"GHSA-44vg-5wv2-h2hg"},{"ecosystem":"PyPI","fixed":["1.0.5"],"introduced":["0"],"last_affected":[],"package":"simpleeval","purl":"pkg:pypi/simpleeval","source":"PYSEC-2026-132"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["0.9.13-bp160.2.1"],"introduced":["0"],"last_affected":[],"package":"python-simpleeval","purl":"pkg:rpm/opensuse/python-simpleeval\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20393-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.0.5-1.1"],"introduced":["0"],"last_affected":[],"package":"python-simpleeval","purl":"pkg:rpm/opensuse/python-simpleeval\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10373-1"}],"prev":{"headline":"Winter: Broken access control in `Cms\\Controllers\\Index` allows cross-template actions and unauthorized asset uploads","id":"CVE-2026-32639"},"products":["simpleeval"],"published":"2026-03-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["danthedeckie"]},"summary":"Attackers can execute arbitrary code by leaking dangerous modules through object attributes in the SimpleEval sandbox.","url":"https://insights.sbomify.com/CVE-2026-32640/"}