ADVISORIES

Vulnerability

CVE-2026-48807

Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators, allowing contained Stringable objects to be coerced to strings without consulting the sandbox policy. This issue is fixed in version 3.27.0.

3 advisories report this vulnerability, across 3 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2026-48807

    Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators,…

    CVE-2026-48807 Ubuntu Updated 24 November 2026

References