DreamFactory saveZipFile Command Injection Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on affected installations of DreamFactory. Authentication is required to exploit this vulnerability.
The specific flaw exists within the implementation of the saveZipFile method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account.
Additional Details
DreamFactory has issued an update to correct this vulnerability. More details can be found at:
https://github.com/dreamfactorysoftware/df-core/commit/404a1783927f95999c71a0ff8f14130d385087fb
Disclosure Timeline
- 2025-05-15 - Vulnerability reported to vendor
- 2025-11-26 - Coordinated public release of advisory
- 2025-11-26 - Advisory Updated
Credit
Catalin Iovita, David Bors, Alexandru Postolache