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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2026-02-02T21:33:23.989Z
- Modified: 2026-06-17T09:56:54.390Z
- Weaknesses: CWE-22, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- wildfirechat im-server: < 1.4.3; before 1.4.3

## References

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

## Sources

- CVE List: [CVE-2025-66480](https://www.cve.org/CVERecord?id=CVE-2025-66480), CVE Terms of Use, modified 2026-02-03
- NVD: [CVE-2025-66480](https://nvd.nist.gov/vuln/detail/CVE-2025-66480), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-66480 · Whole record: https://cve.day/CVE-2025-66480.json · Rebuilt by cve.day 2026-11-25T22:59:10.987Z
