# CVE-2024-38353: CodiMD - Missing Image Access Controls and Unauthorized Image Access

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- 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): 1.15%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-10T19:50:05.935Z
- Modified: 2026-06-17T07:39:58.760Z
- Weaknesses: CWE-338, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

CodiMD allows realtime collaborative markdown notes on all platforms. CodiMD before 2.5.4 is missing authentication and access control vulnerability allowing an unauthenticated attacker to gain unauthorised access to image data uploaded to CodiMD. CodiMD does not require valid authentication to access uploaded images or to upload new image data. An attacker who can determine an uploaded image's URL can gain unauthorised access to uploaded image data. Due to the insecure random filename generation in the underlying Formidable library, an attacker can determine the filenames for previously uploaded images and the likelihood of this issue being exploited is increased. This vulnerability is fixed in 2.5.4.

(As written by CVE List.)

## Affected

- hackmdio codimd: < 2.5.4
- hackmd codimd: before 2.5.4

## References

- <https://github.com/hackmdio/codimd/security/advisories/GHSA-2764-jppc-p2hm> (exploit, mitigation, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2024-38353 · Whole record: https://cve.day/CVE-2024-38353.json · Rebuilt by cve.day 2026-11-25T22:58:42.755Z
