CVE-2026-33154 dynaconf Affected by Remote Code Execution (RCE) via Insecure Template Evaluation in @jinja Resolver

High 7.5 Published Updated

Attackers can execute arbitrary code via Server-Side Template Injection in dynaconf when the jinja2 package is installed and templates are evaluated.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-33154?

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.

Official 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.

Weakness: CWE-78, CWE-94, CWE-1336

Which versions are affected by CVE-2026-33154?

3 open source packages ship an affected version, including dynaconf. It affects 1 product.

PackageAffectedFixed in
dynaconf PyPIAll versions3.2.13
dynaconf PyPIAll versions3.2.13
dynaconf PyPIAll versions3.2.13
Linux distribution packages (2)
python-dynaconf openSUSE:Leap 16.0All versions3.2.5-bp160.2.1
python-dynaconf openSUSE:TumbleweedAll versions3.2.13-1.1

Products include Dynaconf Dynaconf.

How do I fix CVE-2026-33154?

Upgrade dynaconf to 3.2.13 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-33154 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33154 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-33154, GHSA-pxrr-hq57-q35p, PYSEC-2026-2147, UBUNTU-CVE-2026-33154, USN-8231-1, openSUSE-SU-2026:10411-1 and 1 more.

Is CVE-2026-33154 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free