CVE-2026-69089: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav grav
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 proper path sanitization, causing arbitrary image files outside the intended media sandbox to be included and served publicly. The vulnerability results from insufficient realpath or containment checks in the resource locator component. It can lead to unauthorized disclosure of files via unauthenticated URLs.
AI Analysis
Technical Summary
CVE-2026-69089 is a path traversal vulnerability in Grav CMS 2.0.10 affecting the ImageMedium::watermark() method. The vulnerability arises because the $image argument is passed unsanitized to RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator::findResource(). The file:// scheme handling only lexically collapses '..' segments without performing a realpath or containment check, enabling crafted Markdown image syntax with directory traversal sequences to access files outside Grav's media sandbox. These files are composited into a carrier image, cached, and then served from a public, unauthenticated URL, resulting in disclosure of arbitrary files to anonymous users.
Potential Impact
An attacker can cause Grav CMS to disclose arbitrary image files outside the intended media directory by exploiting the path traversal flaw. This leads to unauthorized information disclosure through publicly accessible URLs without authentication. The CVSS 4.0 base score is 8.7, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted Markdown content that includes image syntax or apply manual input validation to sanitize image paths to prevent directory traversal sequences. Monitor official Grav CMS channels for updates and patches addressing this vulnerability.
CVE-2026-69089: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in getgrav 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 proper path sanitization, causing arbitrary image files outside the intended media sandbox to be included and served publicly. The vulnerability results from insufficient realpath or containment checks in the resource locator component. It can lead to unauthorized disclosure of files via unauthenticated URLs.
CVSS v4.0
Score 8.7high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-69089 is a path traversal vulnerability in Grav CMS 2.0.10 affecting the ImageMedium::watermark() method. The vulnerability arises because the $image argument is passed unsanitized to RocketTheme\Toolbox\ResourceLocator\UniformResourceLocator::findResource(). The file:// scheme handling only lexically collapses '..' segments without performing a realpath or containment check, enabling crafted Markdown image syntax with directory traversal sequences to access files outside Grav's media sandbox. These files are composited into a carrier image, cached, and then served from a public, unauthenticated URL, resulting in disclosure of arbitrary files to anonymous users.
Potential Impact
An attacker can cause Grav CMS to disclose arbitrary image files outside the intended media directory by exploiting the path traversal flaw. This leads to unauthorized information disclosure through publicly accessible URLs without authentication. The CVSS 4.0 base score is 8.7, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted Markdown content that includes image syntax or apply manual input validation to sanitize image paths to prevent directory traversal sequences. Monitor official Grav CMS channels for updates and patches addressing this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-03T10:42:57.737Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7098b1bf32cb7a34a8232c
Added to database: 08/03/2026, 13:33:37 UTC
Last enriched: 08/03/2026, 13:48:30 UTC
Last updated: 08/03/2026, 14:36:13 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.