{"items":[{"id":"NVI-00003530","kind":"vulnerability","title":"Grav: Twig sandbox config exfiltration via grav.offsetGet + dump filter (CVE-2026-44738 bypass)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-mc5q-6hpj-rp7j"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. 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 2.0.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-41ce6318fb9afef8166b9ff7a1ab172a"],"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-41ce6318fb9afef8166b9ff7a1ab172a","url":"https://github.com/advisories/GHSA-mc5q-6hpj-rp7j","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-mc5q-6hpj-rp7j","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.977Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-41ce6318fb9afef8166b9ff7a1ab172a"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\n\nThe Twig content sandbox replaces `config` with the redacted `SandboxConfig` facade and strips `Config::get`/`toArray` from the method allowlist (GHSA-j274-39qw-32c9), so editor content can't read config secrets via `config`. That's bypassable: `grav` is the raw container, `offsetget` is allow-listed on it, so `grav.offsetGet('config')` returns the real `Config`. The allow-listed filters `json_encode`/`print_r`/`yaml_encode` then serialize it at the PHP level, never hitting the sandbox method gate, dumping the whole config tree including every `plugins.*` secret (SMTP creds, API keys, plugin DB creds). Incomplete fix for GHSA-j274-39qw-32c9. `security.salt` does not leak (it lives outside config).\n\n### Details\n\nThe documented path is blocked: `config` is the `SandboxConfig` facade (`Twig.php:660`) and the raw `Config`/`Data` method entries are stripped when `config_access` is false, so `{{ config.get(...) }}` returns the default and `{{ grav.offsetGet('config').get(...) }}` raises `SecurityNotAllowedMethodError`.\n\nThe bypass uses two allow-listed primitives the redaction doesn't cover:\n\n1. `grav.offsetGet('config')` returns the raw `Config`. The `SandboxConfig` facade ","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.2"]}],"null_published_at":"2026-10-31T22:12:48.020Z","source_updated_at":"2026-09-02T21:45:09.883Z","source_disclosed_at":"2026-09-02T21:41:12.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.977Z"}],"next_cursor":null,"snapshot_revision":"42594"}