# CVE-2021-36766: Concrete5 through 8.5.5 deserializes Untrusted Data.

- 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.68%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-07-27T05:38:42.000Z
- Modified: 2026-06-17T03:59:07.927Z
- Weaknesses: CWE-502
- Assigned by: mitre

## Description

Concrete5 through 8.5.5 deserializes Untrusted Data. The vulnerable code is located within the controllers/single_page/dashboard/system/environment/logging.php Logging::update_logging() method. User input passed through the logFile request parameter is not properly sanitized before being used in a call to the file_exists() PHP function. This can be exploited by malicious users to inject arbitrary PHP objects into the application scope (PHP Object Injection via phar:// stream wrapper), allowing them to carry out a variety of attacks, such as executing arbitrary PHP code.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- concretecms concrete_cms: before 8.5.6

## Every score

- 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

- <http://seclists.org/fulldisclosure/2021/Jul/36> (exploit, mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/163564/Concrete5-8.5.5-Phar-Deserialization.html> (exploit, third-party-advisory, vdb-entry)
- <https://hackerone.com/reports/1063039> (permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2021-36766](https://www.cve.org/CVERecord?id=CVE-2021-36766), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-36766](https://nvd.nist.gov/vuln/detail/CVE-2021-36766), Public domain, modified 2026-06-17

---

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