CVE-2026-33154·Python vulnerability
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
- high
- Software
- Python
- Fixed in
- 3.2.13
- Published
- 2026-03-20
Affected versions
Until: 3.2.13
Fixed in: 3.2.13
How to fix this CVE
Upgrade Dynaconf to version 3.2.13 or later to patch the Server-Side Template Injection vulnerability in the @Jinja resolver. If you use Dynaconf for configuration management in Python applications, ensure jinja2-templated config values are no longer evaluated in an unsafe context. Patch your Python environment and redeploy affected applications immediately.
sudo dnf update python3-dynaconf && pip3 install --upgrade dynaconf>=3.2.13Defensia detects this vulnerability
How to check if you are affected
- Run `pip3 show dynaconf` to retrieve the installed Dynaconf version and compare against 3.2.13
- Search your application code for @Jinja resolver usage in configuration files: `grep -r '@Jinja' /path/to/app/config`
- Check if jinja2 is installed as a dependency: `pip3 show jinja2` — if present, template injection is possible
- After patching, re-run `pip3 show dynaconf` to confirm version is 3.2.13 or higher
FAQ
What is CVE-2026-33154?
CVE-2026-33154 is a Server-Side Template Injection flaw in Dynaconf's @Jinja resolver that allows authenticated attackers to execute arbitrary code by injecting Jinja2 template expressions into configuration values when jinja2 is installed.
Is CVE-2026-33154 being actively exploited?
No, CVE-2026-33154 is not currently listed on the CISA KEV catalog and no public exploits have been disclosed, though the vulnerability has a high CVSS score of 7.5.
What versions of Python are affected by CVE-2026-33154?
All versions of Dynaconf prior to 3.2.13 are vulnerable; the exact affected Dynaconf release range is unknown, but upgrading to 3.2.13 or later eliminates the risk.
How do I check if my server is vulnerable to CVE-2026-33154?
Run `pip3 show dynaconf | grep Version` — if the version is below 3.2.13 and jinja2 is installed, your system is vulnerable.
Does Defensia detect CVE-2026-33154?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Dynaconf is installed on a monitored server, CVE-2026-33154 will appear in your dashboard with remediation steps.
Related Python CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-33154. Free for 1 server.
Get started free