---
cve: "CVE-2026-61842"
severity: "MEDIUM"
cvss: 6.5
epss: "32%"
vendor: "getgrav"
kev: false
exploited: false
published: "2026-08-19 16:18:17"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-14T03:44:28+02:00"
---

# CVE-2026-61842

> 6.5 MEDIUM · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Unverändert | good |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Keine | good |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 7efe70574e4cf01a251318478c13673029e93eb6 (Commit)
- cc9971b6efa43bc797d3c593f69020a6b7335817 (Commit)

## Referenzen

- <https://github.com/getgrav/grav/security/advisories/GHSA-mc5q-6hpj-rp7j>
- <https://github.com/getgrav/grav/commit/7efe70574e4cf01a251318478c13673029e93eb6>
- <https://github.com/getgrav/grav/releases/tag/2.0.2>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-61842) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
