SecurityContext

CVE-2026-25524: Magento Long Term Support - Remote Code Execution

  • Cve: CVE-2026-25524
  • Name: Magento Long Term Support - Remote Code Execution
  • Description: 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, PHP functions such as `getimagesize()`, `file_exists()`, and `is_readable()` can trigger deserialization when processing `phar://` stream wrapper paths. OpenMage LTS uses these functions with potentially controllable file paths during image validation and media handling. An attacker who can upload a malicious phar file (disguised as an image) and trigger one of these functions with a `phar://` path can achieve arbitrary code execution. Version 20.17.0 patches the issue.
  • Impact: Attackers can execute arbitrary code remotely by uploading malicious phar files disguised as images.
  • Remediation: Upgrade to version 20.17.0 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00645
  • Epss percentile: 0.51687
  • Assignee: [email protected]
  • Published at: 2026-04-20T17:16:32Z
  • Age in days: 218
  • Modified at: 2026-10-26T21:10:00Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25524
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-502Deserialization of Untrusted Data

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369nvd2026-04-20
https://github.com/Emily-0309/unit-01-severity-vs-risk-reflectionpoc-in-github2026-09-04

References

UrlSourceTags
https://github.com/OpenMage/magento-lts/security/advisories/GHSA-fg79-cr9c-7369nvdExploit, Mitigation, Vendor Advisory
https://github.com/OpenMage/magento-lts/releases/tag/v20.17.0nvdRelease Notes

Products

ProductAffectedPlatform boundSourcesUrl
openmage:magento< 20.17.0nonvd/v1/products/openmage/magento

Projects

RepositoryLink kindsIndexedUrl
OpenMage/magento-ltspackage, releases, security_advisoryyes/v1/repositories/OpenMage/magento-lts

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2026-04-20
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts