{"answers":{"affected":"3 open source packages ship an affected version, including dynaconf. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33154 exists.","fix":"Upgrade dynaconf to 3.2.13 or later.","what":"CVE-2026-33154 is a high-severity code injection vulnerability in dynaconf, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-33154 and fix it if it is affected.\n\nWhat it is: CVE-2026-33154 is a high-severity code injection vulnerability in dynaconf, published on 20 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33154 exists.\n\nAffected packages and fixed versions:\n- dynaconf (PyPI): affected all versions; fixed in 3.2.13\n- dynaconf (PyPI): affected all versions; fixed in 3.2.13\n- dynaconf (PyPI): affected all versions; fixed in 3.2.13\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-33154/ (Markdown: https://insights.sbomify.com/CVE-2026-33154/index.md)","id":"CVE-2026-33154","markdown":"https://insights.sbomify.com/CVE-2026-33154/index.md","name":"CVE-2026-33154","record":{"aliases":["DEBIAN-CVE-2026-33154","GHSA-pxrr-hq57-q35p","PYSEC-2026-2147","UBUNTU-CVE-2026-33154","USN-8231-1","openSUSE-SU-2026:10411-1","openSUSE-SU-2026:20429-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Python configuration library","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code via Server-Side Template Injection in dynaconf when the jinja2 package is installed and templates are evaluated.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dynaconf","vendor":"dynaconf"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"description":"dynaconf is a configuration management tool for Python. Prior to version 3.2.13, Dynaconf is vulnerable to Server-Side Template Injection (SSTI) due to unsafe template evaluation in the @Jinja resolver. When the jinja2 package is installed, Dynaconf evaluates template expressions embedded in configuration values without a sandboxed environment. This issue has been patched in version 3.2.13.","ecosystems":["PyPI","openSUSE:Leap 16.0","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-03T02:30:20Z","kind":"github_poc","ref":"https://github.com/redyank/CVE-2026-33154","stars":0,"title":"CVE-2026-33154(RCE @jinja resolver)"}],"tier":"weaponised"},"has_fix":true,"headline":"dynaconf Affected by Remote Code Execution (RCE) via Insecure Template Evaluation in @jinja Resolver","id":"CVE-2026-33154","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"DeepDiff has Memory Exhaustion DoS through SAFE_TO_IMPORT","id":"CVE-2026-33155"},"packages":[{"ecosystem":"PyPI","fixed":["3.2.13"],"introduced":["0"],"last_affected":[],"package":"dynaconf","purl":null,"source":"GHSA-pxrr-hq57-q35p"},{"ecosystem":"PyPI","fixed":["3.2.13"],"introduced":["0"],"last_affected":[],"package":"dynaconf","purl":"pkg:pypi/dynaconf","source":"GHSA-pxrr-hq57-q35p"},{"ecosystem":"PyPI","fixed":["3.2.13"],"introduced":["0"],"last_affected":[],"package":"dynaconf","purl":"pkg:pypi/dynaconf","source":"PYSEC-2026-2147"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["3.2.5-bp160.2.1"],"introduced":["0"],"last_affected":[],"package":"python-dynaconf","purl":"pkg:rpm/opensuse/python-dynaconf\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:20429-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.2.13-1.1"],"introduced":["0"],"last_affected":[],"package":"python-dynaconf","purl":"pkg:rpm/opensuse/python-dynaconf\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10411-1"}],"prev":{"headline":"Information disclosure in recipes","id":"CVE-2026-33153"},"products":["dynaconf"],"published":"2026-03-20","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":"total"},"state":"PUBLISHED","updated":"2026-03-27","vendors":["dynaconf"]},"summary":"Attackers can execute arbitrary code via Server-Side Template Injection in dynaconf when the jinja2 package is installed and templates are evaluated.","url":"https://insights.sbomify.com/CVE-2026-33154/"}