cve.bz

CVE-2026-33154 dynaconf dynaconf: OS Command Injection

8.1 highExploit referenceEPSS 0.6%Fix available

High (8.1) in dynaconf dynaconf. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in dynaconf 3.2.13.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-03-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33154 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33154?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33154?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33154 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dynaconf:dynaconfbefore 3.2.13

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pxrr-hq57-q35pPyPIdynaconf<3.2.133.2.13
PYSEC-2026-2147PyPIdynaconf<3.2.133.2.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-dynaconfno fix listedDEBIAN-CVE-2026-33154
Debian13python-dynaconf3.1.7-2+deb13u1DEBIAN-CVE-2026-33154
Debian14python-dynaconf3.2.13-1DEBIAN-CVE-2026-33154
Ubuntu24.04:LTSpython-dynaconf3.1.7-2ubuntu0.24.04.1UBUNTU-CVE-2026-33154 USN-8231-1
Ubuntu25.10python-dynaconf3.1.7-2ubuntu0.25.10.1UBUNTU-CVE-2026-33154 USN-8231-1
Ubuntu26.10python-dynaconfno fix listedUBUNTU-CVE-2026-33154
UbuntuPro:22.04:LTSpython-dynaconf3.1.7-1ubuntu0.1~esm1UBUNTU-CVE-2026-33154 USN-8231-1
UbuntuPro:26.04:LTSpython-dynaconf3.2.12-1ubuntu0.1~esm1UBUNTU-CVE-2026-33154 USN-8231-1
Red Hatansible_automation_platform:2.6::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.7.13-2.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.10-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9python3.12-pyjwt, python3.12-pyjwt+crypto0:2.13.0-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9python3.12-pysequoia, python3.12-pysequoia-debuginfo, python3.12-pysequoia-debugsource0:0.1.34-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform:2.6::el9, ansible_automation_platform_developer:2.6::el9python3.12-urllib30:2.7.0-1.el9apRHSA-2026:34160
Red Hatansible_automation_platform_developer:2.6::el9automation-controller, automation-controller-cli0:4.7.13-2.el9apRHSA-2026:34160
openSUSELeap 16.0python-dynaconf3.2.5-bp160.2.1openSUSE-SU-2026:20429-1
openSUSETumbleweedpython-dynaconf3.2.13-1.1openSUSE-SU-2026:10411-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat products using dynaconf with the jinja2 package installed, such as Red Hat Ansible Automation Platform and Red Hat Satellite, are affected. An attacker with low privileges could achieve arbitrary code execution by injecting malicious template expressions into configuration values. This is due to unsafe template evaluation in the @Jinja resolver, but exploitation requires high attack complexity.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-controller-0:4.7.13-2.el9apFixed 2026-07-01RHSA-2026:34160
Red Hat Satellite 6.16 for RHEL 8python-dynaconf-0:3.2.13-1.el8pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.16 for RHEL 9python-dynaconf-0:3.2.13-1.el9pcFixed 2026-10-01RHSA-2026:74506
Red Hat Satellite 6.17 for RHEL 9python-dynaconf-0:3.2.13-1.el9pcFixed 2026-10-01RHSA-2026:74505
Red Hat Satellite 6.18 for RHEL 9python3.12-dynaconf-0:3.2.13-2.el9pcFixed 2026-10-01RHSA-2026:74504
Red Hat Satellite 6.19 for RHEL 9python3.12-dynaconf-0:3.2.13-2.el9pcFixed 2026-10-01RHSA-2026:74503
Red Hat Ansible Automation Platform 2.5ansible-automation-platform-25/lightspeed-rhel8:1777403872Fixed 2026-05-04RHSA-2026:13553
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/eda-controller-rhel9:1777296732Fixed 2026-05-04RHSA-2026:13545
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:1777311120Fixed 2026-05-04RHSA-2026:13545
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/controller-rhel9:1779762270Fixed 2026-06-09RHSA-2026:24866
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/eda-controller-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/hub-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/controller-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/eda-controller-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/gateway-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/hub-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/lightspeed-rhel9Affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/controller-rhel9Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/eda-controller-rhel9Under investigation
15 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33154.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON