CVE-2026-79310: Code Injection

Published Sep 23, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/web.py=0.76

Event History

Sep 23, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using web.py 0.76 are exposed when they precompile templates from a directory that an attacker can write to, then render those templates using the precompiled template loader. The described attack depends on that writable-template workflow.

2

What access does an attacker need to exploit it?

The attacker needs the ability to write a malicious template into the directory used for template precompilation. Rendering the resulting precompiled template triggers attacker-controlled Python code execution.

3

What is the impact if exploitation succeeds?

Successful exploitation bypasses the template engine's built-in security checks and allows arbitrary Python code execution. This can also lead to operating-system command execution on the server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203