CVE catalog

CVE-2024-45411

Twig vulnerability

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.85% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianphp-twigsid3.28.0-1fixed
Debianphp-twigforky3.28.0-1fixed
Debianphp-twigtrixie3.27.0-0+deb13u1fixed
Debianphp-twigtrixie-security3.27.0-0+deb13u1fixed
Debianphp-twigbookworm3.5.1-1+deb12u3fixed
Debianphp-twigbookworm-security3.5.1-1+deb12u3fixed
Ubuntuphp-twignoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-cache-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-cssinliner-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-docnoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-extra-bundlenoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-html-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-inky-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-intl-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-markdown-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twig-string-extranoble3.8.0-2ubuntu1fixed
Ubuntuphp-twignoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-cache-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-cssinliner-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-docnoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-extra-bundlenoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-html-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-inky-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-intl-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-markdown-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig-string-extranoble3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig24.043.7.0-1vulnerable
Ubuntuphp-twig24.043.7.1-1vulnerable
Ubuntuphp-twig24.043.8.0-2vulnerable
Ubuntuphp-twig24.043.8.0-2ubuntu1fixed
Ubuntuphp-twigpro3.7.0-1vulnerable
Ubuntuphp-twigpro3.7.1-1vulnerable
Ubuntuphp-twigpro3.8.0-2vulnerable
Ubuntuphp-twigpro3.8.0-2ubuntu0.1~esm1fixed
Ubuntutwigpro1.24.0-2ubuntu1vulnerable
Ubuntutwigpro2.4.4-2ubuntu1vulnerable
Ubuntutwigpro2.4.6-1vulnerable
Ubuntutwigpro2.4.6-1ubuntu0.1~esm1vulnerable
Ubuntuphp-twigpro3.7.0-1vulnerable
Ubuntuphp-twigpro3.7.1-1vulnerable
Ubuntuphp-twigpro3.8.0-2vulnerable
Ubuntuphp-twigpro3.8.0-2ubuntu0.1~esm1fixed
Ubuntuphp-twig24.043.7.0-1vulnerable
Ubuntuphp-twig24.043.7.1-1vulnerable
Ubuntuphp-twig24.043.8.0-2vulnerable
Ubuntuphp-twig24.043.8.0-2ubuntu1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-twigsourcesid3.8.0-4not yet assignedNot reported[1081561]
Debianphp-twigsourceforky3.8.0-4not yet assignedNot reported[1081561]
Debianphp-twigsourcetrixie3.8.0-4not yet assignedNot reported[1081561]
Debianphp-twigsourcebookworm3.5.1-1+deb12u1not yet assignedNot reported[1081561]
Ubuntuphp-twigdebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-cache-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-cssinliner-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-docdebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-extra-bundledebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-html-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-inky-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-intl-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-markdown-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twig-string-extradebnoble3.8.0-2ubuntu1Not reportedNot reportedNot reported
Ubuntuphp-twigdebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-cache-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-cssinliner-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-docdebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-extra-bundledebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-html-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-inky-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-intl-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-markdown-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twig-string-extradebnoble3.8.0-2ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuphp-twigdeb24.043.8.0-2ubuntu1Not reportedUSN-7549-1Not reported
Ubuntuphp-twigdebpro3.8.0-2ubuntu0.1~esm1Not reportedUSN-7456-1Not reported
Ubuntuphp-twigdebpro3.8.0-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-45411Not reported
Ubuntuphp-twigdeb24.043.8.0-2ubuntu1Not reportedUBUNTU-CVE-2024-45411Not reported

[Debian bug #1081561]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [php-twig]Fixed
    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

  • Source package: [php-twig]

    Details (4)
    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

    • 3.5.1-1+deb12u3 · all · bookworm-security

      Fixed · Fixed: 3.5.1-1+deb12u1

      usn · php-twig · debian · bookworm; usn · php-twig · debian · 12

[Debian 13 (Trixie)]

  • [php-twig]Fixed
    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

  • Source package: [php-twig]

    Details (4)
    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.8.0-4

      usn · php-twig · debian · 13

Observed:

References