DEBIAN-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.
DEBIAN-CVE-2026-48807
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-48807
php-twig
Source reference: /affected/0/package/name
- Affected versions
- 3.20.0-2
Source reference:
/affected/0/versions3.21.1-1Source reference:
/affected/0/versions3.21.1-2Source reference:
/affected/0/versions3.21.1-3Source reference:
/affected/0/versions3.22.0-1Source reference:
/affected/0/versions3.22.0-2Source reference:
/affected/0/versions3.22.1-1Source reference:
/affected/0/versions3.22.1-2Source reference:
/affected/0/versions3.22.1-3Source reference:
/affected/0/versions3.22.2-1Source reference:
/affected/0/versions3.22.2-2Source reference:
/affected/0/versions3.23.0-1Source reference:
/affected/0/versions3.23.0-2Source reference:
/affected/0/versions3.24.0-1Source reference:
/affected/0/versions3.26.0-1Source reference:
/affected/0/versions - Fixed versions
- 3.27.0-1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.27.0-1"
}
]
}
],
"package": {
"name": "php-twig",
"purl": "pkg:deb/debian/php-twig?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48807.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #57178 · Revision 1
- Added to Heist Feed
- Publisher date