# CVE-2026-78851: Directory Traversal vulnerability in Grav CMS 2.0.3 through 2.0.6 allows a remote attacker to obtain sensitive information via the GravExte…

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T00:00:00.000Z
- Modified: 2026-10-16T19:56:15.773Z
- Weaknesses: CWE-22, CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

Directory Traversal vulnerability in Grav CMS 2.0.3 through 2.0.6 allows a remote attacker to obtain sensitive information via the GravExtension.php and the mediaDirFunc method.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/SLO-CYBER-SEC/CVE-2026-78851> (exploit)
- <https://github.com/getgrav/grav>
- <https://github.com/getgrav/grav/blob/2.0.6/system/src/Grav/Common/Twig/Extension/GravExtension.php#L1629>
- <https://github.com/getgrav/grav/blob/2.0.6/system/config/security.yaml#L325>

## Sources

- CVE List: [CVE-2026-78851](https://www.cve.org/CVERecord?id=CVE-2026-78851), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-78851](https://nvd.nist.gov/vuln/detail/CVE-2026-78851), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-78851 · Whole record: https://cve.day/CVE-2026-78851.json · Rebuilt by cve.day 2026-11-25T22:59:44.911Z
