The unserialize filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.
1.3.3 and 2.1.2 contain a fix for this issue. The fix may impact backwards compatibility if you are relying on deserializing PHP objects in your templates.
Don't use the unserialize filter.
{
"cwe_ids": [
"CWE-502"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-24T17:42:51Z",
"nvd_published_at": "2026-11-11T05:19:49Z",
"severity": "MODERATE"
}