# CVE-2022-23626: Insufficient file checks in m1k1o/blog

- Severity: High 8.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/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): 9.87%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-08T22:00:12.000Z
- Modified: 2026-06-17T04:30:30.753Z
- Weaknesses: CWE-20, CWE-252
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

m1k1o/blog is a lightweight self-hosted facebook-styled PHP blog. Errors from functions `imagecreatefrom*` and `image*` have not been checked properly. Although PHP issued warnings and the upload function returned `false`, the original file (that could contain a malicious payload) was kept on the disk. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- m1k1o blog: < 1.4
- blog_project blog: before 1.4

## Every score

- GitHub_M: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/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://packetstormsecurity.com/files/167235/m1k1os-Blog-1.3-Remote-Code-Execution.html> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/m1k1o/blog/security/advisories/GHSA-wmqj-5v54-24x4> (third-party-advisory)
- <https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-23626 · Whole record: https://cve.day/CVE-2022-23626.json · Rebuilt by cve.day 2026-11-25T22:58:09.559Z
