# CVE-2021-22968: Improper file handling in concrete5/core

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.23%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-19T18:11:35.000Z
- Modified: 2026-06-17T03:38:07.607Z
- Also known as: GHSA-g3p2-hfqr-9m25
- Weaknesses: CWE-98, CWE-330, CWE-434
- Assigned by: hackerone

## Description

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

(As written by CVE List.)

## Affected

- https://github.com/concrete5/concrete5: Concrete CMS  version 9.0 and version 8.5.7
- concrete5/core (Packagist): before 8.5.7
- concretecms concrete_cms: before 8.5.7

## Every score

- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://hackerone.com/reports/1350444> (exploit, third-party-advisory, web)
- <https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes> (release-notes, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22968> (advisory)
- <https://github.com/olsgreen/concrete5-core> (package)

## Sources

- CVE List: [CVE-2021-22968](https://www.cve.org/CVERecord?id=CVE-2021-22968), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-g3p2-hfqr-9m25](https://github.com/advisories/GHSA-g3p2-hfqr-9m25), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-22968](https://nvd.nist.gov/vuln/detail/CVE-2021-22968), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22968 · Whole record: https://cve.day/CVE-2021-22968.json · Rebuilt by cve.day 2026-11-25T22:58:05.682Z
