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.
Published: 2026-09-23
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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

Subscriptions

No data.

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
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')