{"answers":{"affected":"3 open source packages ship an affected version, including lupa. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34444 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-34444 is a high-severity code injection vulnerability in scoder lupa, published on 6 Apr 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-34444 and fix it if it is affected.\n\nWhat it is: CVE-2026-34444 is a high-severity code injection vulnerability in scoder lupa, published on 6 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34444 exists.\n\nAffected packages and fixed versions:\n- lupa (PyPI): affected all versions up to 2.6; no fix listed\n- lupa (PyPI): affected all versions up to 2.6; no fix listed\n- lupa (PyPI): affected all versions up to 2.6; no fix listed\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-34444/ (Markdown: https://insights.sbomify.com/CVE-2026-34444/index.md)","id":"CVE-2026-34444","markdown":"https://insights.sbomify.com/CVE-2026-34444/index.md","name":"CVE-2026-34444","record":{"aliases":["DEBIAN-CVE-2026-34444","GHSA-69v7-xpr6-6gjm","PYSEC-2026-2613","UBUNTU-CVE-2026-34444","openSUSE-SU-2026:10507-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python Lua integration library","requires_auth":"none","summary":"Attackers can bypass attribute filters in Lupa to escape the sandbox and execute arbitrary code within the host Python environment.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"lupa","vendor":"scoder"}],"cvss":{"score":7.9,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-914","name":"Improper Control of Dynamically-Identified Variables"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. In 2.6 and earlier, attribute_filter is not consistently applied when attributes are accessed through built-in functions like getattr and setattr. This allows an attacker to bypass the intended restrictions and eventually achieve arbitrary code execution.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-04-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-03T05:14:29Z","kind":"github_poc","ref":"https://github.com/redyank/CVE-2026-34444","stars":0,"title":"CVE-2026-34444(Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr/setattr)"}],"tier":"weaponised"},"has_fix":true,"headline":"Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr","id":"CVE-2026-34444","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"ONNX: Malicious ONNX models can crash servers by exploiting unprotected object settings.","id":"CVE-2026-34445"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.6"],"package":"lupa","purl":null,"source":"GHSA-69v7-xpr6-6gjm"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.6"],"package":"lupa","purl":"pkg:pypi/lupa","source":"GHSA-69v7-xpr6-6gjm"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["2.6"],"package":"lupa","purl":"pkg:pypi/lupa","source":"PYSEC-2026-2613"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.7-1.1"],"introduced":["0"],"last_affected":[],"package":"python-lupa","purl":"pkg:rpm/opensuse/python-lupa\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10507-1"}],"prev":{"headline":"FreeScout: SSRF protection bypass via broken CIDR check in checkIpByMask()","id":"CVE-2026-34443"},"products":["lupa"],"published":"2026-04-06","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["scoder"]},"summary":"Attackers can bypass attribute filters in Lupa to escape the sandbox and execute arbitrary code within the host Python environment.","url":"https://insights.sbomify.com/CVE-2026-34444/"}