BreachSpiderVerified, not vibes

CVE-2021-40102 in Concretecms Concrete Cms

Critical 9.1

An issue was discovered in Concrete CMS through 8.5.5. Arbitrary File deletion can occur via PHAR deserialization in is_dir (PHP Object Injection associated with the __wakeup magic method).

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
EPSS1.3%
EPSS percentile71th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Concretecms Concrete Cms ≤ 8.5.5

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

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

An issue was discovered in Concrete CMS through 8.5.5. Arbitrary File deletion can occur via PHAR deserialization in is_dir (PHP Object Injection associated with the __wakeup magic method).

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-40102
BreachSpider IDBS-2021-GLOBAL-074537-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Published2021-09-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-502: Deserialization of Untrusted Data

Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.

Related attack patterns (CAPEC)

CAPEC-586 Object Injection via CWE-502

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical vulnerability in Concrete CMS through version 8.5.5 allows for arbitrary file deletion via PHAR deserialization in the is_dir function, which can lead to unauthorized deletion of files on the server.

The vulnerability arises from improper handling of PHAR (PHP Archive) files during deserialization, specifically through the is_dir function. An attacker can exploit this by crafting a malicious PHAR file that, when deserialized, triggers the __wakeup magic method to delete arbitrary files on the server.

Questions

What is CVE-2021-40102?

A critical vulnerability in Concrete CMS through version 8.5.5 allows for arbitrary file deletion via PHAR deserialization in the is_dir function, which can lead to unauthorized deletion of files on the server.

What is the CVSS score for CVE-2021-40102?

CVE-2021-40102 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. EPSS: 1.3%.

Is CVE-2021-40102 actively exploited?

No confirmed active exploitation of CVE-2021-40102 as of 2026-09-25.

How do I remediate CVE-2021-40102?

Priority: IMMEDIATE. Advisory: https://documentation.concretecms.org/developers/introduction/version-history/856-release-notes PSIRT: [email protected]

What systems are affected by CVE-2021-40102?

CVE-2021-40102 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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.