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 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.
AI Analysis
Technical Summary
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.
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 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
Affected software
getgrav
grav
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.