High

Improper file handling in concrete5/core

  • Disclosed: 23.11.2021
  • Updated: 11.10.2026 10:22

A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in Concrete CMS (concrete5) versions 8.5.6 and below. The external file upload feature stages files in the public directory even if they have disallowed file extensions. They are stored in a directory with a random name, but it's possible to stall the uploads and brute force the directory name. You have to be an admin with the ability to upload files, but this bug gives you the ability to upload restricted file types and execute them depending on server configuration. To fix this, a check for allowed file extensions was added before downloading files to a tmp directory

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package concrete5/core < 8.5.7 8.5.7

References

CVSS score 7.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-330, CWE-98
Platform
Composer
Package
concrete5/core
Disclosed
23.11.2021
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-g3p2-hfqr-9m25 - CC BY 4.0

Vulnerability history: concrete5/core

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (9) in the archive
Total entries
9
First → latest
11.2021 06.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 3
  • Medium 4
  • Low 1

Disclosures per year

  1. 2021: 6
  2. 2022: 3
  3. 2023: 0
  4. 2024: 0
  5. 2025: 0
  6. 2026: 0
Severity:
  1. Critical · 9.1 CVE-2022-30117 >= 9.0.0, < 9.1.0, < 8.5.8 9.1.0, 8.5.8
  2. High · 8.0 CVE-2022-21829 >= 9.0.0, < 9.1.0, < 8.5.8 9.1.0, 8.5.8
  3. High · 8.8 CVE-2021-22966 < 8.5.7 8.5.7
  4. Improper file handling in concrete5/core this entry
    High · 7.2 CVE-2021-22968 < 8.5.7 8.5.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.