{"items":[{"id":"NVI-00007864","kind":"vulnerability","title":"Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-8x9c-rmqh-456c","CVE-2026-48807"],"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-733eabe42d51bd458bb34833246b2a90"],"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.27.0 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-eb9d01171cfb4d5cb345670ecc53a695"],"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":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.367%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.30571. Missing scores are unknown.","source_id":"sr-733eabe42d51bd458bb34833246b2a90"}],"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-22035c752ed72f6f6ddf54ab7514ba45","url":"https://github.com/advisories/GHSA-8x9c-rmqh-456c","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-8x9c-rmqh-456c","publisher":"GitHub Advisory Database","observed_at":"2026-11-05T11:39:31.286Z"},{"id":"sr-eb9d01171cfb4d5cb345670ecc53a695","url":"https://github.com/advisories/GHSA-8x9c-rmqh-456c","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-8x9c-rmqh-456c","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.676Z"},{"id":"sr-733eabe42d51bd458bb34833246b2a90","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-48807","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.381Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-22035c752ed72f6f6ddf54ab7514ba45"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThis is a residual bypass of CVE-2026-47732 / GHSA-pr2w-4gpj-cpq4 left after the initial fix for unguarded `__toString()` calls. It covers two related coercion points that were not caught by the original patch.\n\n**`Traversable` in `join` and `replace` filters.** `SandboxExtension::ensureToStringAllowed()` recurses into PHP arrays so that a `Stringable` object hidden inside an array argument cannot be string-coerced without consulting the security policy. The recursion stops at PHP arrays: a `Traversable` value passed at the same position is not materialised, so its contents are not policy-checked. `CoreExtension::join()` and `CoreExtension::replace()` later materialise such `Traversable` inputs through `self::toArray()` and feed them to `implode()` / `strtr()`, both of which implicitly call `__toString()` on contained `Stringable` objects. The bypass also reproduces when the container implements both `Stringable` and `Traversable`: the container's own `__toString()` is policy-checked, but the elements yielded by `getIterator()` are not, and the consuming filters still coerce them to string.\n\n**`in` and `not in` operators.** `InBinary` and `NotInBinary` compile to `","public_affected_ranges":["<= 3.26.0"]},{"certainty":"source_listed","source_ids":["sr-eb9d01171cfb4d5cb345670ecc53a695"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThis is a residual bypass of CVE-2026-47732 / GHSA-pr2w-4gpj-cpq4 left after the initial fix for unguarded `__toString()` calls. It covers two related coercion points that were not caught by the original patch.\n\n**`Traversable` in `join` and `replace` filters.** `SandboxExtension::ensureToStringAllowed()` recurses into PHP arrays so that a `Stringable` object hidden inside an array argument cannot be string-coerced without consulting the security policy. The recursion stops at PHP arrays: a `Traversable` value passed at the same position is not materialised, so its contents are not policy-checked. `CoreExtension::join()` and `CoreExtension::replace()` later materialise such `Traversable` inputs through `self::toArray()` and feed them to `implode()` / `strtr()`, both of which implicitly call `__toString()` on contained `Stringable` objects. The bypass also reproduces when the container implements both `Stringable` and `Traversable`: the container's own `__toString()` is policy-checked, but the elements yielded by `getIterator()` are not, and the consuming filters still coerce them to string.\n\n**`in` and `not in` operators.** `InBinary` and `NotInBinary` compile to `","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.27.0"]}],"null_published_at":"2026-11-05T19:10:21.417Z","source_updated_at":"2026-06-30T18:43:24.000Z","source_disclosed_at":"2026-06-30T18:43:23.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:10.676Z"},{"id":"NVI-00007864","kind":"vulnerability","title":"Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-8x9c-rmqh-456c","CVE-2026-48807"],"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.27.0 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-eb9d01171cfb4d5cb345670ecc53a695"],"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-733eabe42d51bd458bb34833246b2a90"],"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.367%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.30571. Missing scores are unknown.","source_id":"sr-733eabe42d51bd458bb34833246b2a90"}],"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-eb9d01171cfb4d5cb345670ecc53a695","url":"https://github.com/advisories/GHSA-8x9c-rmqh-456c","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-8x9c-rmqh-456c","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.676Z"},{"id":"sr-733eabe42d51bd458bb34833246b2a90","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-48807","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.381Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-eb9d01171cfb4d5cb345670ecc53a695"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThis is a residual bypass of CVE-2026-47732 / GHSA-pr2w-4gpj-cpq4 left after the initial fix for unguarded `__toString()` calls. It covers two related coercion points that were not caught by the original patch.\n\n**`Traversable` in `join` and `replace` filters.** `SandboxExtension::ensureToStringAllowed()` recurses into PHP arrays so that a `Stringable` object hidden inside an array argument cannot be string-coerced without consulting the security policy. The recursion stops at PHP arrays: a `Traversable` value passed at the same position is not materialised, so its contents are not policy-checked. `CoreExtension::join()` and `CoreExtension::replace()` later materialise such `Traversable` inputs through `self::toArray()` and feed them to `implode()` / `strtr()`, both of which implicitly call `__toString()` on contained `Stringable` objects. The bypass also reproduces when the container implements both `Stringable` and `Traversable`: the container's own `__toString()` is policy-checked, but the elements yielded by `getIterator()` are not, and the consuming filters still coerce them to string.\n\n**`in` and `not in` operators.** `InBinary` and `NotInBinary` compile to `","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.27.0"]}],"null_published_at":"2026-11-01T19:14:01.595Z","source_updated_at":"2026-09-10T03:51:08.226Z","source_disclosed_at":"2026-06-30T18:43:23.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:10.676Z"},{"id":"NVI-00007864","kind":"vulnerability","title":"Twig: Sandbox `__toString()` policy bypass via `Traversable` in `join` and `replace` filters","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-8x9c-rmqh-456c","CVE-2026-48807"],"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.27.0 for twig/twig. Confirm the publisher’s latest guidance.","source_ids":["sr-eb9d01171cfb4d5cb345670ecc53a695"],"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-eb9d01171cfb4d5cb345670ecc53a695","url":"https://github.com/advisories/GHSA-8x9c-rmqh-456c","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-8x9c-rmqh-456c","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.676Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-eb9d01171cfb4d5cb345670ecc53a695"],"technology":"twig/twig","known_exclusions":[],"conditions_summary":"### Description\n\nThis is a residual bypass of CVE-2026-47732 / GHSA-pr2w-4gpj-cpq4 left after the initial fix for unguarded `__toString()` calls. It covers two related coercion points that were not caught by the original patch.\n\n**`Traversable` in `join` and `replace` filters.** `SandboxExtension::ensureToStringAllowed()` recurses into PHP arrays so that a `Stringable` object hidden inside an array argument cannot be string-coerced without consulting the security policy. The recursion stops at PHP arrays: a `Traversable` value passed at the same position is not materialised, so its contents are not policy-checked. `CoreExtension::join()` and `CoreExtension::replace()` later materialise such `Traversable` inputs through `self::toArray()` and feed them to `implode()` / `strtr()`, both of which implicitly call `__toString()` on contained `Stringable` objects. The bypass also reproduces when the container implements both `Stringable` and `Traversable`: the container's own `__toString()` is policy-checked, but the elements yielded by `getIterator()` are not, and the consuming filters still coerce them to string.\n\n**`in` and `not in` operators.** `InBinary` and `NotInBinary` compile to `","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 3.27.0"]}],"null_published_at":"2026-10-31T22:13:18.638Z","source_updated_at":"2026-09-10T03:51:08.226Z","source_disclosed_at":"2026-06-30T18:43:23.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:10.676Z"}],"next_cursor":null,"snapshot_revision":"42594"}