Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 62%

CVE-2026-61873: External Control of File Name or Path in getgrav grav

0
High
VulnerabilityCVE-2026-61873cvecve-2026-61873
Published: 07/15/2026 (07/15/2026, 11:25:56 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav before 9.1.8 contains an arbitrary file write vulnerability in the Form plugin's process.save.filename parameter, which is validated against path traversal before Twig processing but never re-validated after rendering. Attackers can submit form data containing path traversal sequences that are processed through Twig templates, allowing them to write arbitrary files including PHP webshells to the web root or other sensitive directories.

CVSS v4.0

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
getgrav/grav
pkg:github/getgrav/grav
Affected versions
<9.1.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 00:03:50 UTC

Technical Analysis

CVE-2026-61873 is an arbitrary file write vulnerability in Grav CMS before version 9.1.8. The issue exists in the Form plugin's process.save.filename parameter, which is initially validated to prevent path traversal but is not re-validated after being processed through Twig templates. This flaw allows attackers to submit form data containing path traversal sequences that, after Twig rendering, can result in writing files to arbitrary locations such as the web root. This can be exploited to upload malicious files like PHP webshells, leading to remote code execution or full system compromise. The vulnerability has a CVSS 4.0 score of 7.2, indicating high severity, with network attack vector, low attack complexity, no user interaction, and high impact on integrity and availability.

Potential Impact

Successful exploitation allows an attacker with low privileges to write arbitrary files to the server, including placing PHP webshells in the web root or other sensitive directories. This can lead to remote code execution, full system compromise, data loss, or service disruption. The vulnerability affects the integrity and availability of the affected system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Form plugin and validate or sanitize inputs to prevent path traversal and template injection. Monitor for suspicious file writes and consider disabling the vulnerable functionality if feasible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-07-10T21:54:26.760Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57772068715ace43a93bd7

Added to database: 07/15/2026, 12:03:44 UTC

Last enriched: 07/30/2026, 00:03:50 UTC

Last updated: 08/29/2026, 22:52:13 UTC

Views: 75

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses