Approved changes feed: RSS · Atom

cpe:2.3:a:twigphp:twig:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorTwigphp (bc265714-66f4-5c48-8c02-e7c758f65499)
ProductTwig (021e0c55-7720-5ea2-9f80-da07f6bf829a)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-46636 vulnerable 2026-09-16 04:34:15.994259 Twig: Sandbox method allowlist bypass via `Markup` subclass
Twig is a template language for PHP. From version 1.0.0 to before version 3.27.0, SecurityPolicy::checkMethodAllowed() unconditionally whitelists all method calls on instances of Twig\Markup. Twig\Markup is not final, so subclasses inherit the bypass. An application that passes an object of a Markup-derived class into a sandboxed template (typically to mark a chunk of HTML as safe) inadvertently exposes every public method of that subclass to template authors, regardless of the configured allowedMethods list. This issue has been patched in version 3.27.0.
Published: 2026-09-04T22:07:35.122Z
Updated: 2026-09-08T17:38:45.651Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49981 vulnerable 2026-07-29 00:57:45.806356 Twig: Sandbox filter, tag and function allow-list bypass when sandbox state changes between renders for a cached `Template`
Twig is a template language for PHP. Prior to 3.27.0, the per-template filter, tag, and function allow-list verdict is computed when a Template instance is constructed and can remain cached after sandbox state changes between renders, allowing a later sandboxed render to reuse a template that was originally checked with a different or empty policy. This issue is fixed in version 3.27.0.
Published: 2026-07-14T21:26:00.460Z
Updated: 2026-07-21T14:57:52.032Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48808 vulnerable 2026-07-29 00:55:01.664368 Twig: Sandbox property allowlist bypass via the `column` filter under `SourcePolicyInterface`
Twig is a template language for PHP. Prior to 3.27.0, the column filter passes the active sandbox state as a boolean but does not forward the current Source to SandboxExtension::checkPropertyAllowed(), so SourcePolicyInterface decisions are lost and a template author can read public or magic properties not allowed by the sandbox policy. This issue is fixed in version 3.27.0.
Published: 2026-07-14T21:27:21.812Z
Updated: 2026-07-15T14:31:58.897Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48807 vulnerable 2026-07-29 00:55:01.664171 Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters
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.
Published: 2026-07-14T21:29:15.934Z
Updated: 2026-07-15T12:50:42.588Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48806 vulnerable 2026-07-29 00:55:01.663987 Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys
Twig is a template language for PHP. Prior to 3.27.0, ArrayExpression does not guard dynamic mapping keys that are coerced to strings, allowing PHP to invoke __toString() on a Stringable object used as a mapping key without calling SandboxExtension::ensureToStringAllowed(). This issue is fixed in version 3.27.0.
Published: 2026-07-14T21:28:08.781Z
Updated: 2026-07-15T12:47:14.623Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-48805 vulnerable 2026-07-29 00:55:01.663783 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-47730 vulnerable 2026-07-29 00:55:00.372663 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46640 vulnerable 2026-07-29 00:54:59.107009 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46639 vulnerable 2026-07-29 00:54:59.106692 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46638 vulnerable 2026-07-29 00:54:59.106435 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46637 vulnerable 2026-07-29 00:54:59.095976 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46634 vulnerable 2026-07-29 00:54:59.095490 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46633 vulnerable 2026-07-29 00:54:59.095287 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46629 vulnerable 2026-07-29 00:54:59.095083 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46628 vulnerable 2026-07-29 00:54:59.094815 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-46627 vulnerable 2026-07-29 00:54:59.093661 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-24425 vulnerable 2026-06-08 07:51:17.662073 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-24374 vulnerable 2026-06-08 07:12:48.540437 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-51755 vulnerable 2026-06-08 06:52:12.779641 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-51754 vulnerable 2026-06-08 06:52:12.779204 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-45411 vulnerable 2026-06-08 06:48:06.093075 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-39261 vulnerable 2026-06-08 05:47:18.457573 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23614 vulnerable 2026-06-08 05:40:58.041472 db.gcve.eu details were skipped to keep the page responsive. Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.