CVE-2026-79310

NameCVE-2026-79310
Descriptionwebpy 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
webpy (PTS)bookworm1:0.62-4+deb12u1vulnerable
trixie1:0.62-6vulnerable
forky, sid1:0.76-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
webpysource(unstable)(unfixed)

Notes

[trixie] - webpy <no-dsa> (Minor issue)
[bookworm] - webpy <postponed> (Minor issue)
https://github.com/lichoin/TraceLoom/blob/main/CVEs/CVE-2026-79310.md

Search for package or bug name: Reporting problems