Skip to main content
EPSS 0.4%top 69%

CVE-2026-69089: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav grav

0
High
Published: 08/03/2026 (08/03/2026, 13:20:43 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

Grav CMS version 2.0.10 contains a path traversal vulnerability in the ImageMedium::watermark() function. This flaw allows an attacker to craft Markdown image syntax with traversal sequences that bypass directory restrictions, causing arbitrary image files outside the intended media sandbox to be included in a composite image. The resulting image is cached and served from a public URL without authentication, potentially exposing sensitive files to anonymous users.

CVSS v4.0

Score 8.7high

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

Affected software

getgrav

grav

Affected versions
>=0 <2.0.11

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/10/2026, 14:58:47 UTC

Technical Analysis

The vulnerability in Grav CMS 2.0.10 arises from improper limitation of a pathname in the ImageMedium::watermark() method. The method passes an unsanitized $image argument to RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator::findResource(). The file:// scheme branch only lexically collapses '..' segments without performing a realpath or containment check. This allows an attacker who can author Markdown image syntax to include traversal sequences that cause arbitrary image files outside Grav's media sandbox to be composited into a carrier image. This composite image is then cached and served publicly without authentication, leading to unauthorized disclosure of files.

Potential Impact

An unauthenticated attacker can cause Grav CMS to disclose arbitrary image files outside the intended media sandbox by exploiting the path traversal vulnerability. These files are composited into a carrier image, cached, and served from a public URL accessible to anonymous visitors. This results in unauthorized information disclosure of potentially sensitive files.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is provided in the available data. Until a patch is available, restrict Markdown image syntax editing to trusted users and monitor for suspicious usage if possible.

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-08-03T10:42:57.737Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a7098b1bf32cb7a34a8232c

Added to database: 08/03/2026, 13:33:37 UTC

Last enriched: 08/10/2026, 14:58:47 UTC

Last updated: 09/17/2026, 22:01:37 UTC

Views: 35

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