USN-8231-1

Source
https://ubuntu.com/security/notices/USN-8231-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8231-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8231-1
Upstream
Related
Published
2026-05-06T09:06:00Z
Modified
2026-05-07T14:14:21.435406879Z
Summary
python-dynaconf vulnerability
Details

It was discovered that Dynaconf was incorrectly handling template evaluation in its string resolvers. A remote attacker could possibly use this issue to execute arbitrary code.

References

Affected packages

Ubuntu:Pro:22.04:LTS / python-dynaconf

Package

Name
python-dynaconf
Purl
pkg:deb/ubuntu/python-dynaconf@3.1.7-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.7-1ubuntu0.1~esm1

Affected versions

2.*
2.2.3-2
3.*
3.1.7-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.7-1ubuntu0.1~esm1",
            "binary_name": "python3-dynaconf"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

cves_map
{
    "ecosystem": "Ubuntu:Pro:22.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "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": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2026-33154"
        }
    ]
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8231-1.json"

Ubuntu:24.04:LTS / python-dynaconf

Package

Name
python-dynaconf
Purl
pkg:deb/ubuntu/python-dynaconf@3.1.7-2ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.7-2ubuntu0.24.04.1

Affected versions

3.*
3.1.7-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.7-2ubuntu0.24.04.1",
            "binary_name": "python3-dynaconf"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [
        {
            "severity": [
                {
                    "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": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2026-33154"
        }
    ],
    "ecosystem": "Ubuntu:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8231-1.json"

Ubuntu:25.10 / python-dynaconf

Package

Name
python-dynaconf
Purl
pkg:deb/ubuntu/python-dynaconf@3.1.7-2ubuntu0.25.10.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.7-2ubuntu0.25.10.1

Affected versions

3.*
3.1.7-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.7-2ubuntu0.25.10.1",
            "binary_name": "python3-dynaconf"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [
        {
            "severity": [
                {
                    "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": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2026-33154"
        }
    ],
    "ecosystem": "Ubuntu:25.10"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8231-1.json"

Ubuntu:Pro:26.04:LTS / python-dynaconf

Package

Name
python-dynaconf
Purl
pkg:deb/ubuntu/python-dynaconf@3.2.12-1ubuntu0.1~esm1?arch=source&distro=esm-apps/resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.12-1ubuntu0.1~esm1

Affected versions

3.*
3.1.7-2
3.1.7-3
3.2.12-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.2.12-1ubuntu0.1~esm1",
            "binary_name": "python3-dynaconf"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

cves_map
{
    "cves": [
        {
            "severity": [
                {
                    "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": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2026-33154"
        }
    ],
    "ecosystem": "Ubuntu:Pro:26.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8231-1.json"