Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dynaconf
  4. ›
  5. CVE-2026-33154

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

March 18, 2026 (updated April 14, 2026)

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.

If an attacker can influence configuration sources such as: environment variables .env files container environment configuration CI/CD secrets they can execute arbitrary OS commands on the host system. In addition, the @format resolver allows object graph traversal, which may expose sensitive runtime objects and environment variables.

References

  • github.com/advisories/GHSA-pxrr-hq57-q35p
  • github.com/dynaconf/dynaconf
  • github.com/dynaconf/dynaconf/commit/2fbb45ee36b8c0caa5b924fe19f3c1a5e8603fa7
  • github.com/dynaconf/dynaconf/releases/tag/3.2.13
  • github.com/dynaconf/dynaconf/security/advisories/GHSA-pxrr-hq57-q35p
  • nvd.nist.gov/vuln/detail/CVE-2026-33154

Code Behaviors & Features

Detect and mitigate CVE-2026-33154 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.2.13

Fixed versions

  • 3.2.13

Solution

Upgrade to version 3.2.13 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
  • 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')

Source file

pypi/dynaconf/CVE-2026-33154.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:20 +0000.