---
cve: "CVE-2026-42845"
severity: "HIGH"
cvss: 7.7
epss: "62%"
vendor: "getgrav"
kev: false
exploited: false
published: "2026-05-11 17:16:34"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-06T05:09:41+02:00"
---

# CVE-2026-42845

> 7.7 HIGH · 🧪 PoC

## Beschreibung

The form plugin for Grav adds the ability to create and use forms. Prior to 9.1.0 , there is an unauthenticated page-content overwrite via file upload (GHSA-w4rc-p66m-x6qq). Public form uploads now strip path components from the POST-supplied filename and hard-block page-content extensions (`md`, `yaml`, `yml`, `json`, `twig`, `ini`) regardless of the configurable dangerous-extensions list. A permissive `accept` policy combined with the default `destination: self@` could otherwise let an attacker overwrite the page's own `.md` and pivot to super-admin via a `process: save` action. This vulnerability is fixed in 9.1.0.

## CVSS-Vektor

```
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 48bacc4187e1cff815000e526d5ca2878484867f (Commit)

## Referenzen

- <https://github.com/getgrav/grav/security/advisories/GHSA-w4rc-p66m-x6qq>
- <https://github.com/getgrav/grav-plugin-form/commit/48bacc4187e1cff815000e526d5ca2878484867f>

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