Skip to content
OpenAdvisories
High · 8.5 CVE-2026-79310 EUVD-2026-85403GHSA-8m9w-mh94-cwr6

webpy web.py 0.76 is vulnerable to server-side template injection (SSTI). The template engine can be tricked into executing attacker-contro…

Published Sep 23, 2026 · Updated Sep 23, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 webpy No fix yet —
Debian 13 webpy No fix yet —
Debian 12 webpy No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 webpy No fix yet —
Ubuntu 26.04 LTS webpy No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS webpy No fix yet —
Ubuntu Pro 22.04 LTS webpy No fix yet —
Ubuntu Pro 20.04 LTS webpy No fix yet —
Ubuntu Pro 18.04 LTS webpy No fix yet —
Ubuntu Pro 16.04 LTS webpy No fix yet —

References