Home / getgrav / grav / CVE-2026-61842
CVE-2026-61842: is it exploited, and which versions of getgrav grav are affected and fixed?
CVE-2026-61842 is an information disclosure vulnerability in getgrav grav. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: getgrav/grav before 2.0.2 (GitHub advisory GHSA-mc5q-6hpj-rp7j). Fixed in 2.0.2 (GitHub advisory GHSA-mc5q-6hpj-rp7j). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-61842?
Grav: Twig sandbox config exfiltration via grav.offsetGet + dump filter (CVE-2026-44738 bypass)
Grav is a file-based Web platform. Prior to 2.0.2, the Grav Twig content sandbox permits grav.offsetGet('config') to return the raw configuration object and permits json_encode, print_r, yaml_encode, and string filters to serialize that object without passing through GravSecurityPolicy::checkMethodAllowed. A user with page-author permissions can render sandboxed content that exposes plugins.* configuration secrets, including SMTP credentials, API keys, and plugin database credentials. This issue is fixed in version 2.0.2.
From the CVE record by GitHub_M, last updated August 19, 2026, 18:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| getgrav | grav | < 2.0.2 |
As the CVE record by GitHub_M states it, last updated August 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | getgrav/grav | < 2.0.2 | 2.0.2 | GHSA-mc5q-6hpj-rp7j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 2, 2026. Summary: Grav: Twig sandbox config exfiltration via grav.offsetGet + dump filter (CVE-2026-44738 bypass).
How severe is CVE-2026-61842?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-61842 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 19, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/getgrav/grav/security/advisories/GHSA-mc5q-6hpj-rp7j x_refsource_CONFIRM
- https://github.com/getgrav/grav/commit/7efe70574e4cf01a251318478c13673029e93eb6 x_refsource_MISC
- https://github.com/getgrav/grav/releases/tag/2.0.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 10, 2026
- Published
- August 19, 2026, 15:23 UTC
- CVE record updated
- August 19, 2026, 18:18 UTC by GitHub_M
- NVD
- Deferred, last modified September 9, 2026, 21:13 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect grav?
- Nov 21, 2026CVE-2026-134251 getgrav grav: incorrect authorization
- Nov 21, 2026CVE-2026-134253 getgrav grav: code injection (remote code execution)
- Nov 18, 2026CVE-2026-130738 getgrav grav: privilege escalation (improper privilege management)
- Nov 18, 2026CVE-2026-130739 getgrav grav: authorization bypass through a user-controlled key (IDOR)
- Nov 18, 2026CVE-2026-130740 getgrav grav: information disclosure
- Nov 18, 2026CVE-2026-130741 getgrav grav: information disclosure
- Nov 18, 2026CVE-2026-130742 getgrav grav: unsafe reflection
- Nov 18, 2026CVE-2026-130743 getgrav grav: external Control of File Name or Path
Questions about CVE-2026-61842
Is CVE-2026-61842 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of getgrav grav are affected by CVE-2026-61842?
getgrav/grav before 2.0.2, per the GitHub advisory GHSA-mc5q-6hpj-rp7j. The tables above give every range the sources list.
Which version fixes CVE-2026-61842?
2.0.2, per the GitHub advisory GHSA-mc5q-6hpj-rp7j. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-61842?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-61842?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.