Skip to main content
Vulnerability Database/CVE-2026-102783

CVE-2026-102783: Gridbox Path Traversal Vulnerability

CVE-2026-102783 is a path traversal flaw in Gridbox extension for Joomla that allows unauthorized file access through image preview functionality. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-102783 Overview

CVE-2026-102783 is a path traversal vulnerability [CWE-22] affecting the Balbooa Gridbox extension for Joomla in versions prior to 2.20.4.0. The flaw resides in the site UploaderHelper, which uses prefix-only containment logic to validate file paths. The showImage action resolves a request-controlled path, invokes the helper, and streams the resulting file to the requester. When image decoding is unavailable or fails, the handler returns the raw file. An attacker can reference an image stored in a sibling directory such as images-backup and bypass the containment check, reading files outside the configured images root.

Critical Impact

Unauthenticated attackers can disclose Gridbox-typed image files from directories outside the configured media root when a prefix-matching sibling directory exists.

Affected Products

  • Balbooa Gridbox for Joomla versions prior to 2.20.4.0
  • Joomla sites using the Gridbox showImage action
  • Deployments relying on the default images media root

Discovery Timeline

  • 2026-10-08 - CVE-2026-102783 published to the National Vulnerability Database (NVD)
  • 2026-10-08 - Last updated in NVD database

Technical Details for CVE-2026-102783

Vulnerability Analysis

The Gridbox extension exposes a showImage action that accepts a request-controlled file path. The site UploaderHelper applies containment logic that compares the resolved path against the configured images root using a prefix match. Prefix matching does not enforce a trailing path separator, so any sibling directory whose name begins with the same characters as the images root satisfies the check. For example, if the media root is images, a sibling directory such as images-backup passes containment.

When the handler proceeds past the check, it attempts to decode the referenced image. If image decoding is unavailable on the host or fails for the target file, the action falls back to streaming the file bytes directly in the response. This creates a read primitive scoped to files with Gridbox-recognized image extensions. The route restriction on file extension limits the scope of disclosure, which is why the finding is rated as a limited read primitive rather than arbitrary file disclosure.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. The UploaderHelper relies on string-prefix comparison instead of canonicalizing both the resolved path and the expected root and verifying that the resolved path is a descendant of the root with a proper path separator boundary.

Attack Vector

The vulnerability is network-reachable and requires no authentication or user interaction. An attacker crafts a request to the Gridbox showImage action referencing a path that resolves to a sibling directory sharing a prefix with the configured images root. The target file must carry a Gridbox-permitted image extension. Successful exploitation requires that such a prefix-matching sibling directory exist on the target site, which was not observed in the default Joomla installation reviewed by the reporter.

No verified public proof-of-concept code is available. See the Balbooa Gridbox Overview for product information.

Detection Methods for CVE-2026-102783

Indicators of Compromise

  • HTTP requests to Joomla endpoints invoking the Gridbox showImage action with path components containing .., %2e%2e, or absolute paths.
  • Access log entries referencing directories adjacent to the configured images root, such as images-backup, images-old, or images_archive.
  • Repeated showImage requests returning non-image binary content or unusually large responses from image handlers.

Detection Strategies

  • Inspect web server and Joomla logs for showImage requests containing path separators or encoded traversal sequences in file parameters.
  • Monitor response content types from Gridbox image endpoints and alert when responses do not match expected image MIME types.
  • Compare the set of directories on the webroot against the configured Joomla media root to identify prefix-colliding sibling directories.

Monitoring Recommendations

  • Enable verbose logging on the Gridbox extension and forward web server logs to a centralized analytics platform for correlation.
  • Baseline normal showImage request patterns and alert on anomalies in referenced paths, response sizes, or request rates.
  • Audit filesystem contents adjacent to images for backup or archive directories that could satisfy prefix-based containment checks.

How to Mitigate CVE-2026-102783

Immediate Actions Required

  • Upgrade Balbooa Gridbox to version 2.20.4.0 or later on all Joomla sites that run the extension.
  • Audit the webroot for directories sharing a name prefix with the configured images root and relocate or rename them.
  • Restrict access to the Gridbox showImage route at the web server or WAF layer until patching is complete.

Patch Information

Update Gridbox to version 2.20.4.0 or later, which addresses the prefix-only containment logic in the site UploaderHelper. Refer to the vendor at Balbooa Gridbox Overview for release notes and update packages.

Workarounds

  • Rename or remove any sibling directories that share a prefix with the configured images root, for example images-backup when the root is images.
  • Deploy web application firewall rules that block requests to Gridbox endpoints containing path traversal sequences or path separators in image parameters.
  • Restrict filesystem permissions so that the Joomla process cannot read backup or archive directories outside the intended media root.
bash
# Example WAF rule concept (ModSecurity) to block traversal in Gridbox showImage requests
SecRule REQUEST_URI "@contains showImage" \
  "id:1026102783,phase:2,deny,status:403,\
   chain,msg:'CVE-2026-102783 Gridbox path traversal attempt'"
  SecRule ARGS "@rx (\.\./|%2e%2e%2f|\.\.\\)" "t:lowercase,t:urlDecodeUni"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.