Catalogo CVE

CVE-2026-48807

Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not i

[Catalogo CVE]

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

Twig is a template language for PHP. Prior to 3.27.0, the sandbox __toString() checks do not fully cover Traversable values passed to join and replace filters or operands evaluated by the in and not in operators, allowing contained Stringable objects to be coerced to strings without consulting the sandbox policy. This issue is fixed in version 3.27.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+deb13u1not affected
Debianphp-twigtrixie-security3.27.0-0+deb13u1not affected
Debianphp-twigbookworm3.5.1-1+deb12u3not affected
Debianphp-twigbookworm-security3.5.1-1+deb12u3not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianphp-twigsourcesid3.27.0-1not yet assignedNot reportedNot reported
Debianphp-twigsourceforky3.27.0-1not yet assignedNot reportedNot reported
Debianphp-twigsourcetrixieNot affectedunimportantNot reportedNot reported
Debianphp-twigsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-cache-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-cssinliner-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-doc]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-extra-bundle]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-html-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-inky-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-intl-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-markdown-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

  • [php-twig-string-extra]Non interessata

    Pacchetto sorgente: [php-twig]

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

      Non interessata

      nvd · php-twig · debian · bookworm

    • 3.5.1-1+deb12u3 · all · bookworm

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

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

      Non interessata

      nvd · php-twig · debian · bookworm

Osservato:

Riferimenti