Skip to main content

Magento Lts CVE-2026-25525

| EUVDEUVD-2026-23891 MEDIUM
Path Traversal (CWE-22)
2026-04-20 GitHub_M GHSA-6vqf-6fhm-7rc6
4.9
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

6
Patch released
Apr 23, 2026 - 17:47 nvd
Patch available
Analysis Generated
Apr 20, 2026 - 17:54 vuln.today
Patch available
Apr 20, 2026 - 17:16 EUVD
EUVD ID Assigned
Apr 20, 2026 - 17:15 euvd
EUVD-2026-23891
Analysis Generated
Apr 20, 2026 - 17:15 vuln.today
CVE Published
Apr 20, 2026 - 16:14 nvd
MEDIUM 4.9

DescriptionGitHub Advisory

Magento Long Term Support (LTS) is an unofficial, community-driven project provides an alternative to the Magento Community Edition e-commerce platform with a high level of backward compatibility. Prior to version 20.17.0, the Dataflow module in OpenMage LTS uses a weak blacklist filter (str_replace('../', '', $input)) to prevent path traversal attacks. This filter can be bypassed using patterns like ..././ or ....//, which after the replacement still result in ../. An authenticated administrator can exploit this to read arbitrary files from the server filesystem. Version 20.17.0 patches the issue.

AnalysisAI

OpenMage LTS Dataflow module prior to version 20.17.0 allows authenticated administrators to read arbitrary files via a bypassable path traversal filter that uses simple string replacement (str_replace('../', '', $input)). Attackers can circumvent the blacklist by using nested patterns like ..././ or ....// which resolve to valid ../ sequences after filtering. Remote administrative access is required, but the high confidentiality impact and confirmed patch availability make immediate patching necessary for affected deployments.

Technical ContextAI

The Dataflow module in OpenMage LTS, a community-maintained fork of Magento Community Edition, implements file handling operations that process user-supplied path inputs. The vulnerability stems from improper use of a simple character-level blacklist filter (CWE-22: Improper Limitation of a Pathname to a Restricted Directory, also known as path traversal). The weak filter uses str_replace('../', '', $input) which performs a single pass removal of the ../ string. This approach fails against obfuscated payloads: when an attacker provides ..././, the filter removes only the first ../, leaving ./ in place; when the server then interprets this in a path context, the dot-slash resolves to the current directory, effectively reconstructing ../. Similarly, ....// becomes ../ after one replacement. The affected product is OpenMage/magento-lts across all versions prior to 20.17.0, tracked by CPE cpe:2.3:a:openmage:magento-lts:*:*:*:*:*:*:*:*. This is a classic insufficient input validation flaw compounded by reliance on blacklist over whitelist filtering.

RemediationAI

Upgrade OpenMage LTS to version 20.17.0 or later immediately, as this version includes the security patch. The vendor-released patch replaces the weak blacklist filter with a more robust path validation mechanism (specific implementation details not disclosed in the advisory). If immediate patching is not feasible, restrict administrative access to the Dataflow module via role-based access control, limiting which user accounts hold administrative privileges; note that this does not eliminate the vulnerability but reduces the attack surface. Additionally, implement filesystem access controls to prevent the web server process from reading sensitive files outside the intended application directories-for example, restricting file permissions so that configuration files and private keys are readable only by specific system accounts, not by the web server user. Monitor Dataflow module activity and alert on path traversal patterns (e.g., requests containing ../, ..././, ....//) in logs. These compensating controls have trade-offs: access restrictions may impact legitimate administrative workflows, and filesystem hardening requires careful permission tuning to avoid breaking application functionality. The primary mitigation remains the vendor patch. Reference the security advisory at https://github.com/OpenMage/magento-lts/security/advisories/GHSA-6vqf-6fhm-7rc6 for additional technical details.

Share

CVE-2026-25525 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy