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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.32% (percentile 84, 2026-11-28)
- **CWE:** CWE-22, CWE-434
- **Published:** 2026-02-02T21:33:23.989Z
- **Modified:** 2026-06-17T09:56:54.390Z

## Who should check

- Anyone running wildfirechat im-server \< 1.4.3

## 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.

## Affected and fixed versions

- wildfirechat im-server: \< 1.4.3 (cvelist)

## Mitigation

- Upgrade im-server to 1.4.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-66480. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-66480.md
Affected: wildfirechat im-server < 1.4.3
Fixed in: wildfirechat im-server 1.4.3

Steps:
1. Search this machine and project for wildfirechat im-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-66480 being exploited?

There is no confirmed exploitation: CVE-2025-66480 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-66480?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-66480?

wildfirechat im-server \< 1.4.3.

### Is there a fix for CVE-2025-66480?

Yes. Fixed in wildfirechat im-server 1.4.3. Upgrade im-server to 1.4.3 or later.

### How do I check if I'm affected by CVE-2025-66480?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/wildfirechat/im-server/security/advisories/GHSA-74hq-jhx2-fq6c>
- patch: <https://github.com/wildfirechat/im-server/commit/2f9c4e028c01c64913cab32e7248bcca183a5230>
- other: <https://github.com/wildfirechat/im-server/releases/tag/1.4.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-66480>

HTML: <https://flawdb.com/CVE-2025-66480> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-66480>
