{"items":[{"id":"NVI-00005111","kind":"vulnerability","title":"Twig: Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points","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-pr2w-4gpj-cpq4","CVE-2026-47732"],"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-8891fa9c672454bbf9059d8f61e871d2"],"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-825524d185464cd76ee9d072c2136d8e"],"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-983e71a108bd3bf0355addd4e323b74a"},{"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-983e71a108bd3bf0355addd4e323b74a"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.402%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.34424. Missing scores are unknown.","source_id":"sr-8891fa9c672454bbf9059d8f61e871d2"}],"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-0e916855ea77981d6ecbbf33beee5807","url":"https://github.com/advisories/GHSA-pr2w-4gpj-cpq4","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-pr2w-4gpj-cpq4","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T00:52:58.259Z"},{"id":"sr-825524d185464cd76ee9d072c2136d8e","url":"https://github.com/advisories/GHSA-pr2w-4gpj-cpq4","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pr2w-4gpj-cpq4","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"},{"id":"sr-983e71a108bd3bf0355addd4e323b74a","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47732","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-47732","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:22.913Z"},{"id":"sr-8891fa9c672454bbf9059d8f61e871d2","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-47732","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0e916855ea77981d6ecbbf33beee5807"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\n`SandboxNodeVisitor` enforces `SecurityPolicy::checkMethodAllowed()` for implicit `__toString()` calls by wrapping selected AST nodes in `CheckToStringNode`. The set of wrapped nodes is incomplete, and several Twig language constructs still trigger PHP string coercion on a `Stringable` operand without first consulting the policy. A sandboxed template author can therefore invoke `__toString()` on any object reachable in the render context, even when `__toString` on its class is not allowlisted.\n\nConfirmed bypass vectors:\n\n- Conditional expressions (`a ? b : c`, `a ?: b`, `a ?? b`) used as the input of a string-coercing filter or as a filter/function argument.\n- The `matches` operator and the loose comparison operators (`==`, `!=`, ``, `=`, ``), which coerce a `Stringable` operand to string and can be used as an oracle to recover the value byte by byte (no tag, filter or function needs to be allowlisted).\n- Twig tests in general (which were never policy-gated), in particular `is empty` which casts a `Stringable` value via `(string) $value` in `CoreExtension::testEmpty()`.\n- Null-coalesce expressions nested in concatenation, and the direct output of al","public_affected_ranges":["<= 3.25.0"]},{"certainty":"source_listed","source_ids":["sr-825524d185464cd76ee9d072c2136d8e"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\n`SandboxNodeVisitor` enforces `SecurityPolicy::checkMethodAllowed()` for implicit `__toString()` calls by wrapping selected AST nodes in `CheckToStringNode`. The set of wrapped nodes is incomplete, and several Twig language constructs still trigger PHP string coercion on a `Stringable` operand without first consulting the policy. A sandboxed template author can therefore invoke `__toString()` on any object reachable in the render context, even when `__toString` on its class is not allowlisted.\n\nConfirmed bypass vectors:\n\n- Conditional expressions (`a ? b : c`, `a ?: b`, `a ?? b`) used as the input of a string-coercing filter or as a filter/function argument.\n- The `matches` operator and the loose comparison operators (`==`, `!=`, ``, `=`, ``), which coerce a `Stringable` operand to string and can be used as an oracle to recover the value byte by byte (no tag, filter or function needs to be allowlisted).\n- Twig tests in general (which were never policy-gated), in particular `is empty` which casts a `Stringable` value via `(string) $value` in `CoreExtension::testEmpty()`.\n- Null-coalesce expressions nested in concatenation, and the direct output of al","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.26.0"]}],"null_published_at":"2026-11-07T07:07:39.809Z","source_updated_at":"2026-06-05T21:47:12.000Z","source_disclosed_at":"2026-06-05T21:47:11.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.994Z"},{"id":"NVI-00005111","kind":"vulnerability","title":"Twig: Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points","revision":3,"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-pr2w-4gpj-cpq4","CVE-2026-47732"],"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-825524d185464cd76ee9d072c2136d8e"],"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-8891fa9c672454bbf9059d8f61e871d2"],"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":"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-983e71a108bd3bf0355addd4e323b74a"},{"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-983e71a108bd3bf0355addd4e323b74a"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.402%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.34424. Missing scores are unknown.","source_id":"sr-8891fa9c672454bbf9059d8f61e871d2"}],"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-825524d185464cd76ee9d072c2136d8e","url":"https://github.com/advisories/GHSA-pr2w-4gpj-cpq4","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pr2w-4gpj-cpq4","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"},{"id":"sr-983e71a108bd3bf0355addd4e323b74a","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47732","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-47732","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:22.913Z"},{"id":"sr-8891fa9c672454bbf9059d8f61e871d2","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-47732","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-825524d185464cd76ee9d072c2136d8e"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\n`SandboxNodeVisitor` enforces `SecurityPolicy::checkMethodAllowed()` for implicit `__toString()` calls by wrapping selected AST nodes in `CheckToStringNode`. The set of wrapped nodes is incomplete, and several Twig language constructs still trigger PHP string coercion on a `Stringable` operand without first consulting the policy. A sandboxed template author can therefore invoke `__toString()` on any object reachable in the render context, even when `__toString` on its class is not allowlisted.\n\nConfirmed bypass vectors:\n\n- Conditional expressions (`a ? b : c`, `a ?: b`, `a ?? b`) used as the input of a string-coercing filter or as a filter/function argument.\n- The `matches` operator and the loose comparison operators (`==`, `!=`, ``, `=`, ``), which coerce a `Stringable` operand to string and can be used as an oracle to recover the value byte by byte (no tag, filter or function needs to be allowlisted).\n- Twig tests in general (which were never policy-gated), in particular `is empty` which casts a `Stringable` value via `(string) $value` in `CoreExtension::testEmpty()`.\n- Null-coalesce expressions nested in concatenation, and the direct output of al","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.26.0"]}],"null_published_at":"2026-11-04T18:04:07.067Z","source_updated_at":"2026-09-10T03:51:09.316Z","source_disclosed_at":"2026-06-05T21:47:11.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.994Z"},{"id":"NVI-00005111","kind":"vulnerability","title":"Twig: Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-pr2w-4gpj-cpq4","CVE-2026-47732"],"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-825524d185464cd76ee9d072c2136d8e"],"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-8891fa9c672454bbf9059d8f61e871d2"],"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.402%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.34424. Missing scores are unknown.","source_id":"sr-8891fa9c672454bbf9059d8f61e871d2"}],"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-825524d185464cd76ee9d072c2136d8e","url":"https://github.com/advisories/GHSA-pr2w-4gpj-cpq4","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pr2w-4gpj-cpq4","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"},{"id":"sr-8891fa9c672454bbf9059d8f61e871d2","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-47732","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.379Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-825524d185464cd76ee9d072c2136d8e"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\n`SandboxNodeVisitor` enforces `SecurityPolicy::checkMethodAllowed()` for implicit `__toString()` calls by wrapping selected AST nodes in `CheckToStringNode`. The set of wrapped nodes is incomplete, and several Twig language constructs still trigger PHP string coercion on a `Stringable` operand without first consulting the policy. A sandboxed template author can therefore invoke `__toString()` on any object reachable in the render context, even when `__toString` on its class is not allowlisted.\n\nConfirmed bypass vectors:\n\n- Conditional expressions (`a ? b : c`, `a ?: b`, `a ?? b`) used as the input of a string-coercing filter or as a filter/function argument.\n- The `matches` operator and the loose comparison operators (`==`, `!=`, ``, `=`, ``), which coerce a `Stringable` operand to string and can be used as an oracle to recover the value byte by byte (no tag, filter or function needs to be allowlisted).\n- Twig tests in general (which were never policy-gated), in particular `is empty` which casts a `Stringable` value via `(string) $value` in `CoreExtension::testEmpty()`.\n- Null-coalesce expressions nested in concatenation, and the direct output of al","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.26.0"]}],"null_published_at":"2026-11-03T02:33:09.122Z","source_updated_at":"2026-09-10T03:51:09.316Z","source_disclosed_at":"2026-06-05T21:47:11.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.994Z"},{"id":"NVI-00005111","kind":"vulnerability","title":"Twig: Sandbox: multiple `__toString()` policy bypasses via unguarded string coercion points","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-pr2w-4gpj-cpq4","CVE-2026-47732"],"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-825524d185464cd76ee9d072c2136d8e"],"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-825524d185464cd76ee9d072c2136d8e","url":"https://github.com/advisories/GHSA-pr2w-4gpj-cpq4","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pr2w-4gpj-cpq4","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-825524d185464cd76ee9d072c2136d8e"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\n`SandboxNodeVisitor` enforces `SecurityPolicy::checkMethodAllowed()` for implicit `__toString()` calls by wrapping selected AST nodes in `CheckToStringNode`. The set of wrapped nodes is incomplete, and several Twig language constructs still trigger PHP string coercion on a `Stringable` operand without first consulting the policy. A sandboxed template author can therefore invoke `__toString()` on any object reachable in the render context, even when `__toString` on its class is not allowlisted.\n\nConfirmed bypass vectors:\n\n- Conditional expressions (`a ? b : c`, `a ?: b`, `a ?? b`) used as the input of a string-coercing filter or as a filter/function argument.\n- The `matches` operator and the loose comparison operators (`==`, `!=`, ``, `=`, ``), which coerce a `Stringable` operand to string and can be used as an oracle to recover the value byte by byte (no tag, filter or function needs to be allowlisted).\n- Twig tests in general (which were never policy-gated), in particular `is empty` which casts a `Stringable` value via `(string) $value` in `CoreExtension::testEmpty()`.\n- Null-coalesce expressions nested in concatenation, and the direct output of al","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.26.0"]}],"null_published_at":"2026-10-31T22:13:01.442Z","source_updated_at":"2026-09-10T03:51:09.316Z","source_disclosed_at":"2026-06-05T21:47:11.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.994Z"}],"next_cursor":null,"snapshot_revision":"42594"}