Description
FOG is a free open-source cloning/imaging/rescue suite/inventory management system. Prior to 1.5.10.2253 and 1.6.0-RC-1, an authenticated API-enabled user with uType=1 who possesses both the user's API token and the global FOG API token can use PUT /fog/storagenode/{id}/edit to modify Storage Node user, pass, and ftppath fields because the API validates the credentials but does not enforce an administrator-only role. With storage replication enabled and a usable Storage Node, FOGImageReplicator interpolates those fields into an lftp command executed through proc_open() by the root-running service, allowing the low-privileged user to execute commands as root. This issue is fixed in versions 1.5.10.2253 and 1.6.0-RC-1.
References6
- github.com/FOGProject/fogproject/commit/3098e4423588951d8f0ceda…
- github.com/FOGProject/fogproject/commit/aeda5bc536e3eec0200366d…
- github.com/FOGProject/fogproject/pull/1001
- github.com/FOGProject/fogproject/releases/tag/1.5.10.2253
- github.com/FOGProject/fogproject/releases/tag/1.6.0-RC-1
- github.com/FOGProject/fogproject/security/advisories/GHSA-2hqx-…
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 41 · as of 3 November 2026
- CWE
- CWE-78CWE-862
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.