Improper access control in Twig - CVE-2024-51755

 

Improper access control in Twig - CVE-2024-51755

Published: November 6, 2024 / Updated: May 20, 2026


Vulnerability identifier: #VU131988
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-51755
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Symfony
Affected software:
Twig

Detailed vulnerability description

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in the sandbox attribute access handling when processing attributes of array-like objects. A remote privileged user can access attributes of array-like objects that are not checked by the security policy to disclose sensitive information.


How to mitigate CVE-2024-51755

Install security update from vendor's website.

Sources