Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-33154dynaconf Affected by Remote Code Execution (RCE) via Insecure Template Evaluation in @jinja Resolver
High 7.5
In plain English
A high-severity code injection in dynaconf from dynaconf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-dynaconf | no fix listed | DEBIAN-CVE-2026-33154 |
| Debian:13 | python-dynaconf | 3.1.7-2+deb13u1 | DEBIAN-CVE-2026-33154 |
| Debian:14 | python-dynaconf | 3.2.13-1 | DEBIAN-CVE-2026-33154 |
| PyPI | dynaconf | 3.2.13 | GHSA-pxrr-hq57-q35p |
| PyPI | dynaconf | 3.2.13 | PYSEC-2026-2147 |
| Ubuntu:24.04:LTS | python-dynaconf | 3.1.7-2ubuntu0.24.04.1 | USN-8231-1 |
| Ubuntu:24.04:LTS | python-dynaconf | 3.1.7-2ubuntu0.24.04.1 | UBUNTU-CVE-2026-33154 |
| Ubuntu:25.10 | python-dynaconf | 3.1.7-2ubuntu0.25.10.1 | UBUNTU-CVE-2026-33154 |
| Ubuntu:25.10 | python-dynaconf | 3.1.7-2ubuntu0.25.10.1 | USN-8231-1 |
| Ubuntu:26.10 | python-dynaconf | no fix listed | UBUNTU-CVE-2026-33154 |
Affected products (as reported)
Weakness: CWE-1336, CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/dynaconf/dynaconf/security/advisories/GHSA-pxrr-hq57-q35p x_refsource_CONFIRM
- https://github.com/dynaconf/dynaconf/commit/2fbb45ee36b8c0caa5b924fe19f3c1a5e8603fa7 x_refsource_MISC
- https://github.com/dynaconf/dynaconf/releases/tag/3.2.13 x_refsource_MISC