GHSA-48qj-5wxh-m8hc

Suggest an improvement
Source
https://github.com/advisories/GHSA-48qj-5wxh-m8hc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-48qj-5wxh-m8hc/GHSA-48qj-5wxh-m8hc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-48qj-5wxh-m8hc
Aliases
Published
2026-11-24T17:42:51Z
Modified
2026-11-24T18:00:04Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Cakephp twig-view unserialize Twig filter allows arbitrary object deserialization
Details

Impact

The unserialize filter has no restriction on which classes are allowed. This can be used as a deserialization remote-code-execution gadget.

Patches

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.

Workarounds

Don't use the unserialize filter.

Database specific
{
    "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"
}
References

Affected packages

Packagist / cakephp/twig-view

Package

Name
cakephp/twig-view
Purl
pkg:composer/cakephp/twig-view

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.3

Affected versions

1.*
1.0.0-beta1
1.0.0-beta2
1.0.0-RC1
1.0.0-RC2
1.0.0
1.0.1
1.0.2
1.1.0
1.1.1
1.2.0
1.3.0
1.3.1
1.3.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-48qj-5wxh-m8hc/GHSA-48qj-5wxh-m8hc.json"

Packagist / cakephp/twig-view

Package

Name
cakephp/twig-view
Purl
pkg:composer/cakephp/twig-view

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.1.2

Affected versions

2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-48qj-5wxh-m8hc/GHSA-48qj-5wxh-m8hc.json"