python-dynaconf — security advisory
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.
- Products
- python-dynaconf
- Affected versions
- 2.2.3-2, 3.1.7-1, 3.1.7-2, 3.1.7-3, 3.2.12-1, 3.2.13-1
- Fixed versions
- 3.1.7-1ubuntu0.1~esm1, 3.1.7-2ubuntu0.24.04.1, 3.1.7-2ubuntu0.25.10.1, 3.2.12-1ubuntu0.1~esm1
- CVEs
- CVE-2026-33154
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:07 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-33154
python-dynaconf
Fixed versions: 3.1.7-1ubuntu0.1~esm1
python-dynaconf
Fixed versions: 3.1.7-2ubuntu0.24.04.1
python-dynaconf
Fixed versions: 3.1.7-2ubuntu0.25.10.1
python-dynaconf
Fixed versions: Not specified
python-dynaconf
Fixed versions: 3.2.12-1ubuntu0.1~esm1
Complete source record
{
"id": "a1c15bd81b775c604ba947be27024bd027c6d095f9fc99540bf03f572c8d1232",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-33154",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-33154",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-33154",
"products": [
{
"name": {
"value": "python-dynaconf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.1.7-1ubuntu0.1~esm1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.2.3-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.1.7-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-dynaconf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.1.7-2ubuntu0.24.04.1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "3.1.7-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-dynaconf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.1.7-2ubuntu0.25.10.1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "3.1.7-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-dynaconf",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.2.12-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.2.13-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-dynaconf",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.2.12-1ubuntu0.1~esm1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": [
{
"value": "3.1.7-2",
"evidence": "/affected/4/versions"
},
{
"value": "3.1.7-3",
"evidence": "/affected/4/versions"
},
{
"value": "3.2.12-1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-33154",
"aliases": [
"UBUNTU-CVE-2026-33154"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.7-1ubuntu0.1~esm1"
}
]
}
],
"package": {
"name": "python-dynaconf",
"purl": "pkg:deb/ubuntu/python-dynaconf?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"2.2.3-2",
"3.1.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33154.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dynaconf",
"binary_version": "3.1.7-1ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.7-2ubuntu0.24.04.1"
}
]
}
],
"package": {
"name": "python-dynaconf",
"purl": "pkg:deb/ubuntu/python-dynaconf?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.1.7-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33154.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dynaconf",
"binary_version": "3.1.7-2ubuntu0.24.04.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.7-2ubuntu0.25.10.1"
}
]
}
],
"package": {
"name": "python-dynaconf",
"purl": "pkg:deb/ubuntu/python-dynaconf?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.1.7-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33154.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dynaconf",
"binary_version": "3.1.7-2ubuntu0.25.10.1"
}
],
"availability": "No subscription required"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-dynaconf",
"purl": "pkg:deb/ubuntu/python-dynaconf?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.2.12-1",
"3.2.13-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33154.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dynaconf",
"binary_version": "3.2.13-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.12-1ubuntu0.1~esm1"
}
]
}
],
"package": {
"name": "python-dynaconf",
"purl": "pkg:deb/ubuntu/python-dynaconf?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"3.1.7-2",
"3.1.7-3",
"3.2.12-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33154.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-dynaconf",
"binary_version": "3.2.12-1ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
}
],
"modified": "2026-10-17T12:58:10.445001270Z",
"provider": "osv",
"upstream": [
"CVE-2026-33154"
],
"references": [
"https://ubuntu.com/security/CVE-2026-33154",
"https://www.cve.org/CVERecord?id=CVE-2026-33154",
"https://github.com/dynaconf/dynaconf/commit/2fbb45ee36b8c0caa5b924fe19f3c1a5e8603fa7",
"https://github.com/dynaconf/dynaconf/releases/tag/3.2.13",
"https://github.com/dynaconf/dynaconf/security/advisories/GHSA-pxrr-hq57-q35p",
"https://ubuntu.com/security/notices/USN-8231-1"
]
},
"related_cves": [
{
"value": "CVE-2026-33154",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 358272,
"published_at": "2026-03-20T21:17:00+00:00"
}