CVE catalog

CVE-2026-79310

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

[CVE catalog]

Severity
High · CVSS 8.5CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.67% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianwebpysid1:0.76-1vulnerable
Debianwebpyforky1:0.76-1vulnerable
Debianwebpytrixie1:0.62-6vulnerable
Debianwebpybookworm1:0.62-4+deb12u1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwebpysourcesid(unfixed)not yet assignedNot reportedNot reported
Debianwebpysourceforky(unfixed)not yet assignedNot reportedNot reported
Debianwebpysourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianwebpysourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] webpy: Minor issue [bookworm] webpy: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-webpy]Affected

    Source package: [webpy]

    Details (2)
    • 1:0.62-4+deb12u1 · all · bookworm

      Affected

      nvd · webpy · debian · bookworm; nvd · webpy · debian · 12

    • 1:0.62-4+deb12u1 · all · bookworm

      Affected

      nvd · webpy · debian · bookworm; nvd · webpy · debian · 12

  • Source package: [webpy]

    Details (2)
    • 1:0.62-4+deb12u1 · all · bookworm

      Affected

      nvd · webpy · debian · bookworm; nvd · webpy · debian · 12

    • 1:0.62-4+deb12u1 · all · bookworm

      Affected

      nvd · webpy · debian · bookworm; nvd · webpy · debian · 12

[Debian 13 (Trixie)]

  • [python3-webpy]Affected

    Source package: [webpy]

    Details (2)
    • 1:0.62-6 · all · trixie

      Affected

      nvd · webpy · debian · 13

    • 1:0.62-6 · all · trixie

      Affected

      nvd · webpy · debian · 13

  • Source package: [webpy]

    Details (2)
    • 1:0.62-6 · all · trixie

      Affected

      nvd · webpy · debian · 13

    • 1:0.62-6 · all · trixie

      Affected

      nvd · webpy · debian · 13

Observed:

References