CVE-2026-81568

Joomla Extension - j2commerce.com - Arbitrary file read via `task=download` in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7

Published Sep 15, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Joomla Extension - j2commerce.com - Arbitrary file read via `task=download` in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7 - `J2StoreModelOrderdownloads::getFilePath()` built the on-disk path to a purchased digital download by concatenating the configured attachment folder with the product file's stored `product_file_save_name`, using only `JPath::clean()` (which normalises separators but does not resolve or reject `..` segments) and a plain `JFile::exists()` check — never confirming the resolved path stayed inside the configured attachment folder. If a product file's `product_file_save_name` ever contained a `../` traversal segment — most plausibly via the CSRF-forgeable admin product-file save actions described in Issue 1, but equally by any future integration or bug that writes that field — any customer holding a valid download `token`/`pid` pair for that product file could have the traversal resolve to a path outside the attachment folder and download any file readable by the web server (e.g. `configuration.php`).

Analysis

AI-generated

Technical impact

This vulnerability arises from the J2Store 'download' feature that constructs file paths by concatenating a configured attachment directory with a product file's stored name. The concatenation uses only path normalization but does not reject or resolve '..' segments, and the resulting path is only checked with a basic file existence test. Because the stored name can contain directory traversal characters, a client with a valid download token can request a file whose resolved path lies outside the intended attachment folder, allowing read access to any file readable by the web server, such as Joomla's configuration file. The weakness is a file path traversal flaw (CWE-22).

Affected Systems

Joomla websites that install the 1.0.0-3.3.2, 4.0.0-4.0.22, or 4.1.0-4.1.7 releases of the J2Store extension from j2commerce.com are vulnerable. The issue exists across all Joomla installations that incorporate the affected versions of J2Store and have the download functionality enabled.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity vulnerability, and the EPSS score of less than 1% suggests a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires a valid download token and product ID; the likely attack vector is a remote web request to the J2Store download endpoint.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the J2Store extension to the latest released version that contains the path‑traversal fix.
  • Audit the product_file_save_name values in the J2Store database for any entries containing '..' or other traversal patterns and correct or remove them.
  • Temporarily disable the download feature (e.g., restrict the J2Store download endpoint or remove the route) until a patch is applied.
  • Strictly limit file permissions on the attachment directory so that the web server cannot read files outside this folder, reducing the risk of exposing sensitive files.

Generated by OpenCVE AI on September 20, 2026 at 12:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared J2commerce.com
J2commerce.com j2store Extension For Joomla
Vendors & Products J2commerce.com
J2commerce.com j2store Extension For Joomla
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Joomla Extension - j2commerce.com - Arbitrary file read via `task=download` in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7 - `J2StoreModelOrderdownloads::getFilePath()` built the on-disk path to a purchased digital download by concatenating the configured attachment folder with the product file's stored `product_file_save_name`, using only `JPath::clean()` (which normalises separators but does not resolve or reject `..` segments) and a plain `JFile::exists()` check — never confirming the resolved path stayed inside the configured attachment folder. If a product file's `product_file_save_name` ever contained a `../` traversal segment — most plausibly via the CSRF-forgeable admin product-file save actions described in Issue 1, but equally by any future integration or bug that writes that field — any customer holding a valid download `token`/`pid` pair for that product file could have the traversal resolve to a path outside the attachment folder and download any file readable by the web server (e.g. `configuration.php`).
Title Joomla Extension - j2commerce.com - Arbitrary file read via `task=download` in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Joomla
Published
Updated
Sep 15, 2026, 7:29 PM
Reserved
Aug 27, 2026, 6:42 AM
Status
Deferred
Published
Sep 15, 2026, 7:17 PM
Modified
Sep 16, 2026, 7:28 PM