CVE-2026-79310

8.5

webpy · web.py

A server-side template injection (SSTI) vulnerability in web.py version 0.76 allows authenticated attackers to bypass sandbox restrictions and achieve arbitrary code execution.

Executive summary

A critical server-side template injection vulnerability in web.py 0.76 permits authenticated attackers to execute arbitrary system commands, posing a severe risk to server integrity.

Vulnerability

This vulnerability is a server-side template injection (SSTI) flaw within the web.py template engine. It requires the attacker to have low-level authenticated access to influence template files, allowing them to bypass built-in security sandboxes and execute arbitrary Python or OS commands.

Business impact

The ability to execute arbitrary code on the underlying server environment represents a total compromise of the application. Given the CVSS score of 8.5, this high-severity flaw could lead to complete data exfiltration, total loss of system control, and significant reputational damage if exploited by a malicious actor with legitimate access to the application environment.

Remediation

Immediate Action: Audit all applications utilizing web.py 0.76 and restrict write access to template directories to prevent unauthorized modification. Monitor vendor channels for an official patch, as no specific fixed version is currently documented.

Proactive Monitoring: Review web server access logs for suspicious input patterns or requests targeting template rendering endpoints. Monitor for anomalous child processes spawned by the web application service.

Compensating Controls: Deploy a Web Application Firewall (WAF) with rules designed to detect and block common SSTI payloads or suspicious Python syntax in user-supplied input.

Exploitation status

Public Exploit Available: Yes — a published proof-of-concept exists in the referenced security research write-up.

Analyst recommendation

Organizations should prioritize the mitigation of this vulnerability by reviewing their application architecture to ensure template directories are not writeable by untrusted users. Until an official patch is released by the vendor, implementing strict input validation and least-privilege directory permissions is essential to minimize the risk of a successful exploit.

More webpy CVEs

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief high section

Sources