CVE-2025-66480 Wildfire has Arbitrary File Upload via Directory Traversal in UploadFileAction

Critical 9.8 Published Updated

Attackers can upload malicious files to arbitrary locations via directory traversal in Wildfire IM, leading to remote code execution.

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

What is CVE-2025-66480?

CVE-2025-66480 is a critical vulnerability in wildfirechat im-server, published on 2 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Wildfire IM is an instant messaging and real-time audio/video solution. Prior to 1.4.3, a critical vulnerability exists in the im-server component related to the file upload functionality found in com.xiaoleilu.loServer.action.UploadFileAction. The application exposes an endpoint (/fs) that handles multipart file uploads but fails to properly sanitize the filename provided by the user. Specifically, the writeFileUploadData method directly concatenates the configured storage directory with the filename extracted from the upload request without stripping directory traversal sequences (e.g., ../../). This vulnerability allows an attacker to write arbitrary files to any location on the server's filesystem where the application process has write permissions. By uploading malicious files (such as scripts, executables, or overwriting configuration files like authorized_keys or cron jobs), an attacker can achieve Remote Code Execution (RCE) and completely compromise the server. This vulnerability is fixed in 1.4.3.

Weakness: CWE-434, CWE-22

Which versions are affected by CVE-2025-66480?

It affects 1 product.

Products include Wildfirechat Im-Server.

How do I fix CVE-2025-66480?

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

Is CVE-2025-66480 being exploited?

There is no known exploitation of CVE-2025-66480 in the wild and no public exploit code.

Sources

Also known as GHSA-74hq-jhx2-fq6c.

Is CVE-2025-66480 in your software?

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

Check your SBOMs for free