DEBIAN-CVE-2026-79310
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.
DEBIAN-CVE-2026-79310
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-79310
webpy
Source reference: /affected/0/package/name
- Affected versions
- 1:0.62-4
Source reference:
/affected/0/versions1:0.62-4+deb12u1Source reference:
/affected/0/versions1:0.62-5Source reference:
/affected/0/versions1:0.62-6Source reference:
/affected/0/versions1:0.70-1Source reference:
/affected/0/versions1:0.76-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
webpy
Source reference: /affected/1/package/name
- Affected versions
- 1:0.62-6
Source reference:
/affected/1/versions1:0.70-1Source reference:
/affected/1/versions1:0.76-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
webpy
Source reference: /affected/2/package/name
- Affected versions
- 1:0.62-6
Source reference:
/affected/2/versions1:0.70-1Source reference:
/affected/2/versions1:0.76-1Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "webpy",
"purl": "pkg:deb/debian/webpy?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1:0.62-4",
"1:0.62-4+deb12u1",
"1:0.62-5",
"1:0.62-6",
"1:0.70-1",
"1:0.76-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-79310.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "webpy",
"purl": "pkg:deb/debian/webpy?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1:0.62-6",
"1:0.70-1",
"1:0.76-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-79310.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "webpy",
"purl": "pkg:deb/debian/webpy?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1:0.62-6",
"1:0.70-1",
"1:0.76-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-79310.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]- Related CVEs
- CVE-2026-79310
Source reference:
/upstream
Publisher severity
high
Source reference: /severity/0/score
- Event
- #81488 · Revision 1
- Added to Heist Feed
- Publisher date