CVE-2021-22968
HIGH 7.2CVSS 3.1Improper file handling in concrete5/core
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.Concrete CMS Security Team gave this a CVSS v3.1 score of 5.4 AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:NThis fix is also in Concrete version 9.0.0
- Published
- 19 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-330CWE-98
- Also known as
- GHSA-g3p2-hfqr-9m25
- Sources
- NVDJSONOSV GHSA-g3p2-hfqr-9m25JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | concretecms | concrete_cmscpe:2.3:a:concretecms:concrete_cms:*:*:*:*:*:*:*:* |
< 8.5.7 | 8.5.7 |
| OSV | Packagist | concrete5/core | < 8.5.7 | 8.5.7 |
References
- https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes · Release Notes, Vendor Advisory, WEB
- https://hackerone.com/reports/1350444 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22968 · ADVISORY
- https://github.com/olsgreen/concrete5-core · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 19 Nov 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Nov 2021)