VDB

CVE-2024-45411

CVE-2024-45411 PUBLISHED CVSS 8.6 HIGH

Twig has a possible sandbox bypass

Reported by github_m · Published September 9, 2024

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.

Risk scores

CVSS 3.1
8.6
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
twigphpTwig> 1.0.0, < 1.44.8, > 2.0.0, < 2.16.1, > 3.0.0, < 3.14.0
twigphpTwig> 1.0.0, < 1.44.8, > 2.0.0, < 2.16.1, > 3.0.0, < 3.14.0
symfonytwig1.0.0, 2.0.0, 3.0.0
twigtwig1.0.0, 2.0.0, 3.12.0

Timeline

  • Sep 9, 2024 CVE Published
  • Sep 10, 2024 EPSS Score (30 in total, the first dated here)
  • Sep 16, 2024 CVE Updated
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 5, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-45411
vulnetix vdb fixes CVE-2024-45411

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45411/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›