Skip to main content
VulnerabilityPublished Updated

CVE-2024-40551: PublicCMS · An Arbitrary File Upload

Affects PublicCMSSource CVE Database V5

0

Not known to be exploited · CVSS 6.2 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
6.2Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubsanluan/PublicCMSpkg:github/sanluan/PublicCMSOther threatsAffected
  • =4.0.202302
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-40551, organizations should first verify if they are running PublicCMS version 4.0.202302.e or similar vulnerable versions. Since no official patches are currently available, immediate steps include restricting access to the /admin/cmsTemplate/doUpload endpoint through network segmentation, firewall rules, or IP whitelisting to limit local or unauthorized access. Implement strict server-side validation of uploaded files, including checking file types, sizes, and content signatures to prevent malicious payloads. Employ web application firewalls (WAFs) with custom rules to detect and block suspicious upload attempts. Monitor logs for unusual upload activity or execution of unauthorized scripts. Consider disabling file uploads temporarily if feasible until a patch is released. Regularly update PublicCMS and subscribe to vendor advisories for timely patch deployment. Additionally, conduct security audits and penetration testing focused on file upload functionalities to identify and remediate similar weaknesses.

Description

An arbitrary file upload vulnerability in the component /admin/cmsTemplate/doUpload of PublicCMS v4.0.202302.e allows attackers to execute arbitrary code via uploading a crafted file.

References

Community reviews

Loading reviews…