CVE-2025-15009 liweiyi ChestnutCMS Filename upload FilenameUtils.getExtension unrestricted upload

Medium 5.3 Published Updated

Remote attackers can upload malicious files via unrestricted filename handling in ChestnutCMS, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-15009?

CVE-2025-15009 is a medium-severity vulnerability in liweiyi ChestnutCMS, published on 22 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw has been found in liweiyi ChestnutCMS up to 1.5.8. This vulnerability affects the function FilenameUtils.getExtension of the file /dev-api/common/upload of the component Filename Handler. Executing manipulation of the argument File can lead to unrestricted upload. The attack may be launched remotely. The exploit has been published and may be used.

Weakness: CWE-434, CWE-284

Which versions are affected by CVE-2025-15009?

It affects 1 product.

Products include 1000mz Chestnutcms.

How do I fix CVE-2025-15009?

No fix has been published for CVE-2025-15009 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-15009 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-15009 exists.

Sources

Also known as GHSA-j725-9864-6gc2.

Is CVE-2025-15009 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free