Advisory record · GHSA-qm58-cvvm-c5qr

elFinder unsafe upload filtering leading to remote code execution

CVSS 8.1 HighCriticalEPSS 0.19 · 97th percentile

Critical, because:

  • CVSS score 8.1 (7.0 or more) and EPSS 0.19 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 15 Jun 2021, 15:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
studio-42/elfinderPackagist<2.1.582.1.58
Identifiers
GHSA-qm58-cvvm-c5qr · CVE-2021-23394 · PKSA-xvcp-92ds-sjr2 · SNYK-PHP-STUDIO42ELFINDER-1290554
Weakness (CWE)
CWE-434
Published
15 Jun 2021
Updated
8 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

elFinder (Packagist package studio-42/elfinder) before 2.1.58 has an upload filter that does not block `.phar` files. On Linux distributions where Apache runs `.phar` files as PHP, an attacker who can upload files through the PHP connector could execute arbitrary code on the server. Upgrade to 2.1.58 or later; if you cannot, make sure the connector is not exposed without authentication.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.1 High 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (snyk)
  • CISA KEV Not listed.
  • EPSS 0.19, the 97th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:25 UTC First seen by agentprime
  2. 31 Oct 2026, 14:25 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.