UBUNTU-CVE-2026-79310

Source
https://ubuntu.com/security/CVE-2026-79310
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-79310
Upstream
  • CVE-2026-79310
Published
2026-09-24T00:00:00Z
Modified
2026-09-25T06:36:57Z
Severity
  • 8.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

webpy web.py 0.76 is vulnerable to server-side template injection (SSTI). The template engine can be tricked into executing attacker-controlled template code that built-in security checks are designed to reject. When an application precompiles templates from a directory the attacker can write to and later renders them through the precompiled template loader, the sandbox is bypassed and the attacker's code runs, resulting in arbitrary Python code execution and OS command execution on the server.

References

Affected packages

Ubuntu:26.04:LTS
webpy

Package

Name
webpy
Purl
pkg:deb/ubuntu/webpy?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:0.*
1:0.62-6

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-webpy",
            "binary_version":  "1:0.62-6"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json"
Ubuntu:Pro:16.04:LTS
webpy

Package

Name
webpy
Purl
pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:0.*
1:0.37+20120626-1
1:0.37+20120626-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-webpy",
            "binary_version":  "1:0.37+20120626-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json"
Ubuntu:Pro:18.04:LTS
webpy

Package

Name
webpy
Purl
pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:0.*
1:0.38-1
1:0.38+20170615-1
1:0.38+20170615-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-webpy",
            "binary_version":  "1:0.38+20170615-1ubuntu0.1~esm1"
        },
        {
            "binary_name":  "python3-webpy",
            "binary_version":  "1:0.38+20170615-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json"
Ubuntu:Pro:20.04:LTS
webpy

Package

Name
webpy
Purl
pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:0.*
1:0.39+20181101-1
1:0.40-2
1:0.40-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-webpy",
            "binary_version":  "1:0.40-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json"
Ubuntu:Pro:22.04:LTS
webpy

Package

Name
webpy
Purl
pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:0.*
1:0.61-1
1:0.61-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-webpy",
            "binary_version":  "1:0.61-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json"
Ubuntu:Pro:24.04:LTS
webpy

Package

Name
webpy
Purl
pkg:deb/ubuntu/webpy?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1:0.*
1:0.62-4
1:0.62-4ubuntu0.1~esm1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-webpy",
            "binary_version":  "1:0.62-4ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-79310.json"