Security Resilience

CVE-2026-33154

RCE in Dynaconf ≤ 3.2.13

Published
20 March 2026
Modified
14 April 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0067 47th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-33154 is a high-severity Code Injection (CWE-94) vulnerability in Dynaconf. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Dynaconf, a configuration management tool for Python, versions prior to 3.2.13, contains a Server-Side Template Injection (SSTI) vulnerability identified as CVE-2026-33154. The flaw arises in the @Jinja resolver, where Dynaconf evaluates template expressions embedded in configuration values without a sandboxed environment when the jinja2 package is installed. This issue, published on 2026-03-20, carries a CVSS v3.1 base score of 7.5 (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) and maps to CWEs 94, 1336, and 78.

An attacker requires low privileges (PR:L) and must be able to supply or influence configuration values containing malicious Jinja2 template expressions. Exploitation is possible over the network (AV:N) without user interaction (UI:N), though it demands high attack complexity (AC:H). Successful attacks can result in high impacts to confidentiality, integrity, and availability (C:H/I:H/A:H), potentially enabling remote code execution on the affected system.

The vulnerability is patched in Dynaconf version 3.2.13. Mitigation involves upgrading to this version or later. Key resources include the patching commit at https://github.com/dynaconf/dynaconf/commit/2fbb45ee36b8c0caa5b924fe19f3c1a5e8603fa7, the release announcement at https://github.com/dynaconf/dynaconf/releases/tag/3.2.13, and the GitHub security advisory at https://github.com/dynaconf/dynaconf/security/advisories/GHSA-pxrr-hq57-q35p.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

in configuration values without a sandboxed environment. This issue has been patched in version 3.2.13.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1548.001 Setuid and Setgid Privilege Escalation
An adversary may abuse configurations where an application has the setuid or setgid bits set in order to get code running in a different (and possibly more privileged) user’s context.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-28797Shared CWE-1336, CWE-78
CVE-2025-67036Shared CWE-78, CWE-94
CVE-2023-5677Shared CWE-78, CWE-94
CVE-2024-48964Shared CWE-78, CWE-94
CVE-2026-55576Shared CWE-78, CWE-94
CVE-2024-37845Shared CWE-78, CWE-94
CVE-2026-40288Shared CWE-78, CWE-94
CVE-2024-42745Shared CWE-78, CWE-94
CVE-2025-67035Shared CWE-78, CWE-94
CVE-2026-42994Shared CWE-78, CWE-94

Affected Assets

dynaconf
dynaconf
≤ 3.2.13

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.3.7
  • V1.3.10
  • V1.2.5
  • V1.2.8

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation finds code paths that accept and execute externally influenced strings.

Input validation directly stops untrusted data from being used to construct executable code without neutralization.

Least privilege limits the damage an injected code fragment can perform once executed.

Least functionality restricts available OS commands and interpreters, limiting the blast radius of injection.

Requiring documented secure development standards and tools enforces use of safe code-generation APIs and escaping.

Security engineering principles require use of safe templating APIs and proper escaping of external input.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

PR.PS-06's SDLC practices directly target injection flaws via secure coding and testing (mostly), yet as a single broad outcome it leaves many code-generation specifics unaddressed (partial).

PR.PS-02 partial match
blocks

Routine patching/maintenance can remediate known command-injection CVEs in dependencies (partial forward) but does nothing to stop developers from introducing improper neutralization in custom code (none reverse).

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's programme of code review, static analysis, dynamic testing and penetration testing is the complete pre-production discovery set for code injection: eval/dynamic-execution sinks are visible to SAST, code review catches them, and penetration testing reaches the externally exploitable instances, with no nameable remainder.

finds

A.5.22 monitors supplier compliance and reviews their reports and audit trails, but it does not perform static analysis, dynamic testing, or penetration testing on the supplier's code to discover OS command injection flaws.

prevents

Training technical teams in secure coding practices (per A.6.3's education and training guidance) helps developers avoid constructing code from untrusted input without neutralization, but the effect is a minority one because the clause mandates a general awareness/training practice rather than a specific secure-coding mechanism, and developers remain fallible.

prevents

Banning unapproved code samples and unauthenticated web services, combined with secure-coding standards and SAST, prevents the dynamic generation or inclusion of attacker-supplied code.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses like code injection in delivered code the way those practices do, at `partial` -- the effect depends on the supplier's faithful implementation of those practices, which is fallible, and the clause sits at its declared ceiling of `partial` on this verb.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw in third-party components. CWE-94 (code injection) does surface as CVEs in some libraries and frameworks, so A.8.8 finds that minority; the bulk of code injection lives in first-party code (eval(), dynamic code generation in the organization's own application), which A.8.8 does not reach — that is the job of SAST/DAST under A.8.29.

References