Project Subscriptions
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5v5v-ww74-355v | Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys |
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Wed, 15 Jul 2026 17:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Twigphp
Twigphp twig |
|
| Vendors & Products |
Twigphp
Twigphp twig |
Wed, 15 Jul 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Tue, 14 Jul 2026 21:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Twig: Sandbox `__toString()` policy bypass via dynamic mapping keys | |
| Weaknesses | CWE-693 CWE-863 |
|
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-07-15T12:47:14.623Z
Reserved: 2026-05-22T20:57:10.975Z
Link: CVE-2026-48806
Updated: 2026-07-15T12:47:09.633Z
Status : Analyzed
Published: 2026-07-14T22:17:04.943
Modified: 2026-07-17T03:17:51.220
Link: CVE-2026-48806
No data.
OpenCVE Enrichment
Updated: 2026-07-31T04:45:17Z
Github GHSA