Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72697— Grav CMS before 2.0.16 Path Traversal via media_directory

Quick assessment

Affected
getgrav grav
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 2.0.16之前版本存在路径遍历漏洞,该漏洞源于media_directory() Twig函数未验证文件系统路径,可能导致已认证用户枚举和访问预期范围之外的文件,具有页面编写权限的攻击者可读取Web服务器进程可访问且匹配配置媒体扩展名的任意文件内容。

CVSS 6.5 · Medium EPSS 0.38% · P30

Affected Version Matrix 2

VendorProduct Version RangeStatus
getgrav grav < 2.0.16 affected
2.0.16 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72697

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Grav CMS before 2.0.16 Path Traversal via media_directory
Source: CVE Program / CVE List V5
Vulnerability Description
Grav CMS before 2.0.16 contains a path traversal vulnerability in the media_directory() Twig function that fails to validate filesystem paths, allowing authenticated users to enumerate and access files outside intended scope. Attackers with page authoring privileges can supply arbitrary filesystem paths to media_directory() and use the allow-listed filepath accessor on Medium objects to read file contents of any file matching configured media extensions that the web server process can access.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Grav 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grav是Grav组织开源的一款基于文件的扁平化内容管理系统。 Grav 2.0.16之前版本存在路径遍历漏洞,该漏洞源于media_directory() Twig函数未验证文件系统路径,可能导致已认证用户枚举和访问预期范围之外的文件,具有页面编写权限的攻击者可读取Web服务器进程可访问且匹配配置媒体扩展名的任意文件内容。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getgrav grav 0 ~ 2.0.16 -

II. Public POCs for CVE-2026-72697

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-72697

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72697 (2)

Same Patch Batch · getgrav · 2026-08-25 · 15 CVEs total

CVE-2026-56710 9.8 CRITICAL Grav Login Plugin before 1.0.16 Privilege Escalation via Unlock
CVE-2026-75574 8.8 HIGH Grav before 4.2.2 Remote Code Execution via Email Twig
CVE-2026-72696 8.4 HIGH Grav CMS before 2.0.16 Symlink Following via createLockFile
CVE-2026-72695 8.1 HIGH Grav before 2.0.16 Path Traversal via MediaUploadTrait deleteFile
CVE-2026-56707 7.7 HIGH Grav Flex Objects 1.4.0 through 1.4.7 Authorization Bypass via Shortcode
CVE-2026-72700 7.5 HIGH Grav before 3.9.1 Timing Attack via Non-Constant-Time Token Comparison
CVE-2026-76846 7.5 HIGH Grav before 2.0.16 Information Disclosure via Twig Sandbox
CVE-2026-56709 7.5 HIGH Grav before 3.9.2 Host Header Injection via sendInvitationEmail
CVE-2026-72698 6.5 MEDIUM Grav CMS before 2.0.16 Information Disclosure via Twig Sandbox Bypass
CVE-2026-76839 6.5 MEDIUM Grav before 2.0.16 Information Disclosure via offsetGet
CVE-2026-72702 5.4 MEDIUM Grav CMS before 2.0.16 Origin Validation Bypass via Referer
CVE-2026-72699 5.3 MEDIUM Grav Login Plugin before 3.9.1 Email Enumeration via Registration
CVE-2026-56708 5.3 MEDIUM Grav API Plugin before 1.0.16 SSRF via DNS Rebinding
CVE-2026-72701 3.7 LOW Grav CMS before 2.0.16 Timing Attack via verifyNonce

IV. Related Vulnerabilities

V. Comments for CVE-2026-72697

No comments yet


Leave a comment