---
title: "CVE-2026-133772"
canonical_url: "https://pkgseek.com/security/CVE-2026-133772"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "unknown"
---

# CVE-2026-133772

The guard tag compiles only one of its branches, depending on whether a callable exists. The other branch was still parsed, though. The extends, use, macro and block tags in it registered their effects on the template. The sandbox doesn't see these tags, since that branch isn't compiled. A sandboxed template allowed to use guard could therefore extend a template, import blocks and define macros, while the policy doesn't allow these tags:  {% guard filter upper %}{% else %}{% extends "parent.html" %}{% endguard %}  The templates reached this way come from the loader of the sandbox, and they are…

CVE-2026-133772 is rated UNKNOWN, with 10 indexed affected package builds across 1 distributions.

- **Severity / Score**: UNKNOWN
- **Affected builds**: 10
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | php-twig | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-cache-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-cssinliner-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-doc | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-extra-bundle | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-html-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-inky-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-intl-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-markdown-extra | 3.27.0-0+deb13u1 | — |
| Debian | trixie | php-twig-string-extra | 3.27.0-0+deb13u1 | — |
