Catalogo CVE

CVE-2026-47732

Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allo

[Catalogo CVE]

Gravità
High · CVSS 7.1
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 22, 2026

Twig is a template language for PHP. Prior to 3.26.0, several Twig language constructs trigger PHP string coercion on a Stringable operand without consulting SecurityPolicy::checkMethodAllowed(), allowing a sandboxed template author to invoke __toString() on objects reachable in the render context through conditional expressions, comparison operators, tests, template-loading tags, dynamic attribute names, spread arguments, the do tag, and the .. range operator. This issue is fixed in version 3.26.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+deb12u3vulnerable
Debianphp-twigbookworm-security3.5.1-1+deb12u3vulnerable
Cpephp-twigNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-twigsourcesid3.26.0-1not yet assignedNot reportedNot reported
Debianphp-twigsourceforky3.26.0-1not yet assignedNot reportedNot reported
Debianphp-twigsourcetrixie3.27.0-0+deb13u1not yet assignedNot reportedNot reported
Debianphp-twigsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[bookworm] php-twig: Too intrusive to backport

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • [php-twig-doc]Interessata

    Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • [php-twig-html-extra]Interessata

    Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • [php-twig-inky-extra]Interessata

    Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • [php-twig-intl-extra]Interessata

    Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

  • Pacchetto sorgente: [php-twig]

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

      Interessata

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

    • 3.5.1-1+deb12u3 · all · bookworm

      Interessata

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

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

      Interessata

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

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

      Interessata

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

[Debian 13 (Trixie)]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • [php-twig-doc]Corretta

    Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

  • Pacchetto sorgente: [php-twig]

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

    • 3.27.0-0+deb13u1 · all · trixie

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

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

      Corretta · Corretta: 3.27.0-0+deb13u1

      nvd · php-twig · debian · 13

Osservato:

Riferimenti