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

Sun, 27 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Webpy
Webpy webpy
Vendors & Products Webpy
Webpy webpy

Wed, 23 Sep 2026 21:30:00 +0000

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

Wed, 23 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 23 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}


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

Updated: 2026-09-23T18:20:52.945Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-09-24T21:08:22.573

Link: CVE-2026-79310

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:46:15Z

Weaknesses