CVE-2021-22968 in Concretecms Concrete Cms
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 wi...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Concretecms | Concrete Cms | < 8.5.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-22968 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-243553-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-11-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-98: CWE-98
CWE-330: CWE-330
CWE-434: Unrestricted Upload of File with Dangerous Type
Application allows file uploads without validating type, enabling upload of executable code or web shells.
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-330
CAPEC-193 PHP Remote File Inclusion via CWE-98
CAPEC-485 Signature Spoofing by Key Recreation via CWE-330
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-434
CAPEC-112 Brute Force via CWE-330
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Concrete CMS (concrete5) versions 8.5.6 and below allows remote code execution through a bypass in the File Manager that permits the addition of remote files with disallowed extensions, leading to potential unauthorized code execution.
An attacker can exploit this vulnerability by uploading a malicious file with a disallowed extension through the File Manager. The file is temporarily stored in a publicly accessible directory with a random name. By stalling the upload process, the attacker can brute force the directory name and execute the malicious code.
Questions
What is CVE-2021-22968?
A vulnerability in Concrete CMS (concrete5) versions 8.5.6 and below allows remote code execution through a bypass in the File Manager that permits the addition of remote files with disallowed extensions, leading to potential unauthorized code execution.
What is the CVSS score for CVE-2021-22968?
CVE-2021-22968 has CVSS 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 3.2%.
Is CVE-2021-22968 actively exploited?
No confirmed active exploitation of CVE-2021-22968 as of 2026-09-25.
How do I remediate CVE-2021-22968?
Priority: IMMEDIATE. Advisory: https://documentation.concretecms.org/developers/introduction/version-history/857-release-notes PSIRT: [email protected]
What systems are affected by CVE-2021-22968?
CVE-2021-22968 affects Concretecms Concrete Cms.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Concretecms","product":"Concrete Cms","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.