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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 23 Sep 2026 18:45:00 +0000

Type Values Removed Values Added
Title Server‑Side Template Injection in web.py 0.76 Enables Arbitrary Python and OS Code Execution
Weaknesses CWE-94

Wed, 23 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
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.
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-09-23T18:21:44.394Z

Reserved: 2026-08-25T00:00:00.000Z

Link: CVE-2026-79310

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-23T16:16:45.687

Modified: 2026-09-23T16:16:45.687

Link: CVE-2026-79310

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T18:30:06Z

Weaknesses