DEBIAN-CVE-2026-48807

Source
https://security-tracker.debian.org/tracker/CVE-2026-48807
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48807.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-48807
Upstream
Published
2026-07-14T22:17:05Z
Modified
2026-09-14T17:03:15Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:14 / php-twig

Package

Name
php-twig
Purl
pkg:deb/debian/php-twig?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.27.0-1

Affected versions

3.*
3.20.0-2
3.21.1-1
3.21.1-2
3.21.1-3
3.22.0-1
3.22.0-2
3.22.1-1
3.22.1-2
3.22.1-3
3.22.2-1
3.22.2-2
3.23.0-1
3.23.0-2
3.24.0-1
3.26.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48807.json"