Security mailing lists by PureSourceCode

CVE-2024-45411

HIGH 8.6CVSS 3.1

Twig has a possible sandbox bypass

Twig is a template language for PHP. Under some circumstances, the sandbox security checks are not run which allows user-contributed templates to bypass the sandbox restrictions. This vulnerability is fixed in 1.44.8, 2.16.1, and 3.14.0.

Published
9 Sep 2024
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-693
Also known as
GHSA-6j75-5wfj-gh66
Sources
NVDJSONOSV GHSA-6j75-5wfj-gh66JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD symfony twig
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
>= 1.0.0, < 1.44.8 1.44.8
NVD symfony twig
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.16.1 2.16.1
NVD symfony twig
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.14.0 3.14.0
OSV Packagist twig/twig >= 1.0.0, < 1.44.8 1.44.8
OSV Packagist twig/twig >= 2.0.0, < 2.16.1 2.16.1
OSV Packagist twig/twig >= 3.12.0, < 3.14.0 3.14.0
OSV Packagist twig/twig >= 3.0.0, < 3.11.1 3.11.1

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 9 Sep 2024)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Sep 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.