{"items":[{"id":"NVI-00007576","kind":"vulnerability","title":"Twig: Sandbox property and method bypass via object-destructuring assignment","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-mm6w-gr99-p3jj","CVE-2026-46639"],"plain_summary":"GitHub lists this reviewed advisory for twig/twig. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-8015cf46acef35402fcc2e821ab7410f"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 3.26.0 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-e120f250a60659a653fd357752dc716a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-24T22:10:00.210Z","value":"6.5 MEDIUM (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-65c80f250400cef787e50e52a34b6232"},{"kind":"CVSS","as_of":"2026-10-24T22:10:00.210Z","value":"7.1 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-65c80f250400cef787e50e52a34b6232"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.394%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.3365. Missing scores are unknown.","source_id":"sr-8015cf46acef35402fcc2e821ab7410f"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-0ff8ed2b3b8019658962602234ecfa2f","url":"https://github.com/advisories/GHSA-mm6w-gr99-p3jj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-mm6w-gr99-p3jj","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T07:02:15.138Z"},{"id":"sr-e120f250a60659a653fd357752dc716a","url":"https://github.com/advisories/GHSA-mm6w-gr99-p3jj","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-mm6w-gr99-p3jj","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.980Z"},{"id":"sr-65c80f250400cef787e50e52a34b6232","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46639","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-46639","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-03T22:35:28.075Z"},{"id":"sr-8015cf46acef35402fcc2e821ab7410f","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46639","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0ff8ed2b3b8019658962602234ecfa2f"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThe object-destructuring assignment syntax introduced in Twig 3.24.0 generates a call to `CoreExtension::getAttribute()` with the `$sandboxed` argument hardcoded to `false`, regardless of whether a `SandboxExtension` is active. This permanently disables the sandbox's property and method policy checks for every destructuring expression.\n\n`ObjectDestructuringSetBinary::compile()` emits:\n\n```php\nCoreExtension::getAttribute($this->env, $this->source, ..., \\Twig\\Template::ANY_CALL, false, false, false, ...);\n//                                                                                ^^^^^\n//                                                                       sandbox check never runs\n```\n\nWhereas `GetAttrExpression::compile()` correctly passes `$env->hasExtension(SandboxExtension::class)`.\n\nAn attacker with write access to a sandboxed Twig template can read any public property or invoke any public getter on objects passed to the template engine, bypassing `SecurityPolicy` restrictions. The exploit requires only the `{% do %}` tag to be in `allowedTags`, which is a common configuration.\n\n### Resolution\n\nThe destructuring compiler now forwards the active sandbox fl","public_affected_ranges":[">= 3.24.0, < 3.26.0"]},{"certainty":"source_listed","source_ids":["sr-e120f250a60659a653fd357752dc716a"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThe object-destructuring assignment syntax introduced in Twig 3.24.0 generates a call to `CoreExtension::getAttribute()` with the `$sandboxed` argument hardcoded to `false`, regardless of whether a `SandboxExtension` is active. This permanently disables the sandbox's property and method policy checks for every destructuring expression.\n\n`ObjectDestructuringSetBinary::compile()` emits:\n\n```php\nCoreExtension::getAttribute($this->env, $this->source, ..., \\Twig\\Template::ANY_CALL, false, false, false, ...);\n//                                                                                ^^^^^\n//                                                                       sandbox check never runs\n```\n\nWhereas `GetAttrExpression::compile()` correctly passes `$env->hasExtension(SandboxExtension::class)`.\n\nAn attacker with write access to a sandboxed Twig template can read any public property or invoke any public getter on objects passed to the template engine, bypassing `SecurityPolicy` restrictions. The exploit requires only the `{% do %}` tag to be in `allowedTags`, which is a common configuration.\n\n### Resolution\n\nThe destructuring compiler now forwards the active sandbox fl","public_affected_ranges":["ECOSYSTEM: introduced 3.24.0; fixed 3.26.0"]}],"null_published_at":"2026-11-07T07:07:42.479Z","source_updated_at":"2026-05-21T21:30:50.000Z","source_disclosed_at":"2026-05-21T21:30:49.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:30.980Z"},{"id":"NVI-00007576","kind":"vulnerability","title":"Twig: Sandbox property and method bypass via object-destructuring assignment","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-mm6w-gr99-p3jj","CVE-2026-46639"],"plain_summary":"OSV carries this publisher advisory for twig/twig. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.26.0 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-e120f250a60659a653fd357752dc716a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-8015cf46acef35402fcc2e821ab7410f"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.394%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.3365. Missing scores are unknown.","source_id":"sr-8015cf46acef35402fcc2e821ab7410f"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-e120f250a60659a653fd357752dc716a","url":"https://github.com/advisories/GHSA-mm6w-gr99-p3jj","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-mm6w-gr99-p3jj","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.980Z"},{"id":"sr-8015cf46acef35402fcc2e821ab7410f","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-46639","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e120f250a60659a653fd357752dc716a"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThe object-destructuring assignment syntax introduced in Twig 3.24.0 generates a call to `CoreExtension::getAttribute()` with the `$sandboxed` argument hardcoded to `false`, regardless of whether a `SandboxExtension` is active. This permanently disables the sandbox's property and method policy checks for every destructuring expression.\n\n`ObjectDestructuringSetBinary::compile()` emits:\n\n```php\nCoreExtension::getAttribute($this->env, $this->source, ..., \\Twig\\Template::ANY_CALL, false, false, false, ...);\n//                                                                                ^^^^^\n//                                                                       sandbox check never runs\n```\n\nWhereas `GetAttrExpression::compile()` correctly passes `$env->hasExtension(SandboxExtension::class)`.\n\nAn attacker with write access to a sandboxed Twig template can read any public property or invoke any public getter on objects passed to the template engine, bypassing `SecurityPolicy` restrictions. The exploit requires only the `{% do %}` tag to be in `allowedTags`, which is a common configuration.\n\n### Resolution\n\nThe destructuring compiler now forwards the active sandbox fl","public_affected_ranges":["ECOSYSTEM: introduced 3.24.0; fixed 3.26.0"]}],"null_published_at":"2026-11-03T02:33:09.078Z","source_updated_at":"2026-09-10T03:51:06.512Z","source_disclosed_at":"2026-05-21T21:30:49.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:30.980Z"},{"id":"NVI-00007576","kind":"vulnerability","title":"Twig: Sandbox property and method bypass via object-destructuring assignment","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-mm6w-gr99-p3jj","CVE-2026-46639"],"plain_summary":"OSV carries this publisher advisory for twig/twig. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 3.26.0 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-e120f250a60659a653fd357752dc716a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-e120f250a60659a653fd357752dc716a","url":"https://github.com/advisories/GHSA-mm6w-gr99-p3jj","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-mm6w-gr99-p3jj","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.980Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e120f250a60659a653fd357752dc716a"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThe object-destructuring assignment syntax introduced in Twig 3.24.0 generates a call to `CoreExtension::getAttribute()` with the `$sandboxed` argument hardcoded to `false`, regardless of whether a `SandboxExtension` is active. This permanently disables the sandbox's property and method policy checks for every destructuring expression.\n\n`ObjectDestructuringSetBinary::compile()` emits:\n\n```php\nCoreExtension::getAttribute($this->env, $this->source, ..., \\Twig\\Template::ANY_CALL, false, false, false, ...);\n//                                                                                ^^^^^\n//                                                                       sandbox check never runs\n```\n\nWhereas `GetAttrExpression::compile()` correctly passes `$env->hasExtension(SandboxExtension::class)`.\n\nAn attacker with write access to a sandboxed Twig template can read any public property or invoke any public getter on objects passed to the template engine, bypassing `SecurityPolicy` restrictions. The exploit requires only the `{% do %}` tag to be in `allowedTags`, which is a common configuration.\n\n### Resolution\n\nThe destructuring compiler now forwards the active sandbox fl","public_affected_ranges":["ECOSYSTEM: introduced 3.24.0; fixed 3.26.0"]}],"null_published_at":"2026-10-31T22:13:18.625Z","source_updated_at":"2026-09-10T03:51:06.512Z","source_disclosed_at":"2026-05-21T21:30:49.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:30.980Z"}],"next_cursor":null,"snapshot_revision":"42594"}