ADVISORIES

Vulnerability

CVE-2026-48805

Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(), allowing legacy calls such as twig_array_some(), twig_array_every(), and twig_check_arrow_in_sandbox() to bypass sandbox callable restrictions. This issue is fixed in version 3.27.0.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Packagist 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-48805

    Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(),…

    CVE-2026-48805 Debian Updated 25 October 2026
  • DSA-6311-1

    php-twig - security update

    CVE-2026-24425CVE-2026-46627CVE-2026-46628CVE-2026-46629 Debian Updated 20 November 2026
  • GHSA-p42q-9prx-q5wq

    Twig: Sandbox state regression in deprecated internal wrappers in `src/Resources/core.php`

    Low CVE-2026-48805 Packagist Updated 10 September 2026
  • UBUNTU-CVE-2026-48805

    Twig is a template language for PHP. Prior to 3.27.0, deprecated internal wrappers in src/Resources/core.php do not forward the current sandbox state to CoreExtension::checkArrow(), arraySome(), and arrayEvery(),…

    CVE-2026-48805 Ubuntu Updated 17 October 2026

References