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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-66295— Grav vulnerable to Path traversal / arbitrary YAML write via user creation leading to Account Takeover / System Corruption

CVSS 8.8 · High EPSS 0.09% · P26
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-66295

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 vulnerable to Path traversal / arbitrary YAML write via user creation leading to Account Takeover / System Corruption
Source: NVD (National Vulnerability Database)
Vulnerability Description
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, when a user with privilege of user creation creates a new user through the Admin UI and supplies a username containing path traversal sequences (for example ..\Nijat or ../Nijat), Grav writes the account YAML file to an unintended path outside user/accounts/. The written YAML can contain account fields such as email, fullname, twofa_secret, and hashed_password. This vulnerability is fixed in 1.8.0-beta.27.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Grav 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grav是Grav开源的一套可扩展的用于个人博客、小型内容发布平台和单页产品展示的CMS(内容管理系统)。 Grav 1.8.0-beta.27之前版本存在路径遍历漏洞,该漏洞源于路径遍历序列导致账户YAML文件写入错误路径。
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

VendorProductAffected VersionsCPESubscribe
getgravgrav < 1.8.0-beta.27 -

II. Public POCs for CVE-2025-66295

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-66295

登录查看更多情报信息。

Same Patch Batch · getgrav · 2025-12-01 · 19 CVEs total

CVE-2025-662998.8 HIGHSecurity Sandbox Bypass with SSTI (Server Side Template Injection) in the Grav CMS
CVE-2025-662968.8 HIGHGrav vulnerable to Privilege Escalation in Grav Admin: Missing Username Uniqueness Check A
CVE-2025-663008.5 HIGHGrav is vulnerable to Arbitrary File Read
CVE-2025-663026.8 MEDIUMGrav vulnerable to Path Traversal allowing server files backup
CVE-2025-663076.5 MEDIUMGrav Admin Plugin vulnerable to User Enumeration & Email Disclosure
CVE-2025-663046.2 MEDIUMGrav Exposes Password Hashes Leading to privilege escalation
CVE-2025-663034.9 MEDIUMGrav is vulnerable to a DOS on the admin panel
CVE-2025-663064.3 MEDIUMGrav vulnerable to Information Disclosure via IDOR in Grav Admin Panel
CVE-2025-66305Grav vulnerable to Denial of Service via Improper Input Handling in 'Supported' Parameter
CVE-2025-66294Grav is vulnerable to RCE via SSTI through Twig Sandbox Bypass
CVE-2025-66297Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig I
CVE-2025-66311Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` in Mul
CVE-2025-66309Grav vulnerable to Cross-Site Scripting (XSS) Reflected endpoint /admin/pages/[page], para
CVE-2025-66312Grav Admin Plugin vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/account
CVE-2025-66301Grav ihas Broken Access Control which allows an Editor to modify the page's YAML Frontmatt
CVE-2025-66308Grav Admin Plugin vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/config/
CVE-2025-66298Grav is vulnerable to Server-Side Template Injection (SSTI) via Forms
CVE-2025-66310Grav vulnerable to Cross-Site Scripting (XSS) Stored endpoint `/admin/pages/[page]` parame

IV. Related Vulnerabilities

V. Comments for CVE-2025-66295

No comments yet


Leave a comment