Back to list

Grav: Twig sandbox config exfiltration via grav.offsetGet + dump filter (CVE-2026-44738 bypass) — GHSA-MC5Q-6HPJ-RP7J

GitHub · GitHub · GHSA-MC5Q-6HPJ-RP7J

ID
GHSA-MC5Q-6HPJ-RP7J
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
6.5
EPSS
0.00321

Summary

### Summary The 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…

Timeline

Published by source
2026-09-02

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 6.5 out of 10.
  • Reported EPSS value: 0.00321.
  • Review exposure for the affected product or family: composer: getgrav/grav.

Product

composer: getgrav/grav

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-MC5Q-6HPJ-RP7J
Source
GitHub
Vendor
GitHub
Published by source
2026-09-02
Last source activity
2026-09-02
Additional identifiers
CVE-2026-61842
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.