CVE-2024-40545: PublicCMS · An Arbitrary File Upload
Affects PublicCMSSource CVE Database V5
Not known to be exploited · CVSS 7.2 High.
Data as of 26 Oct 2026, 09:15 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubsanluan/PublicCMSpkg:github/sanluan/PublicCMSOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-40545, organizations should implement the following specific measures: 1) Immediately restrict access to the /admin/cmsWebFile/doUpload endpoint to only trusted administrators and limit privileges to the minimum necessary. 2) Implement strict server-side validation of uploaded files, including checking file extensions, MIME types, and file content signatures to block dangerous file types. 3) Employ application-layer firewalls or web application firewalls (WAFs) with rules designed to detect and block suspicious upload attempts targeting this endpoint. 4) Monitor logs and network traffic for unusual upload activity or attempts to upload executable or script files. 5) If possible, isolate the CMS environment in a sandboxed or containerized environment to limit the impact of potential exploitation. 6) Stay alert for official patches or updates from PublicCMS developers and apply them promptly once available. 7) Conduct regular security audits and penetration testing focused on file upload functionalities. These targeted actions go beyond generic advice and address the specific attack vector and environment of this vulnerability.
Description
An arbitrary file upload vulnerability in the component /admin/cmsWebFile/doUpload of PublicCMS v4.0.202302.e allows attackers to execute arbitrary code via uploading a crafted file.