CVE-2026-116778

FOG: Authenticated low-privileged API user can modify Storage Nodes and reach root command execution

Published Oct 28, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An authenticated user with limited privileges can change critical Storage Node parameters through the API, which the application incorrectly trusts. By altering the node's user, password, and FTP path, the attacker exploits an input interpolation flaw that causes the server‑side FOGImageReplicator to run a shell command with root privileges. The vulnerability stems from improper input validation and insufficient authorization checks, allowing a low‑privileged API user to bypass administrative controls and achieve remote command execution. The tactic can compromise a full system because the exploited command runs as the root account, granting the attacker complete system control.

Affected Systems

FOGProject’s fogproject, affected by versions prior to 1.5.10.2253 and 1.6.0‑RC‑1 into the source code. Users running an API‑enabled instance with a global token and a low‑privileged user (uType=1) who has both user and global API keys are at risk when storage replication is enabled and a functional storage node exists. All installations using the aforementioned versions before the release of 1.5.10.2253 or 1.6.0‑RC‑1 should verify their running version.

Risk and Exploitability

The vulnerability scores a CVSS of 8.8, indicating high severity. EPSS data is currently unavailable, but the lack of a KEV listing does not diminish its potential impact. The exploit requires legitimate API credentials and the global token, implying that attackers must first gain API access; however, once granted, the attacker can exploit the system without additional privileges. The flaw can be leveraged by injecting malicious FTP credentials that expand into exec calls, allowing arbitrary shell commands. Because the underlying service runs as root, a successful exploitation results in complete system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading fogproject to version 1.5.10.2253 or later, or to any release following 1.6.0‑RC‑1. This update corrects the authentication check and sanitizes the command interpolation.
  • If a patch cannot be applied immediately, disable storage replication or remove all storage node configurations until the fix is deployed. The replication feature is the component that triggers the unsafe code path.
  • Revoke the global FOG API token and rotate all API credentials used by low‑privileged users, ensuring that only administrators possess the ability to generate or use global tokens. This limits the ability of non‑admin accounts to carry out the exploit even if the API can be accessed.

Generated by OpenCVE AI on October 28, 2026 at 17:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Fogproject
Fogproject fogproject
Vendors & Products Fogproject
Fogproject fogproject
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title FOG: Authenticated low-privileged API user can modify Storage Nodes and reach root command execution
Weaknesses CWE-78
CWE-862
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-862

    Missing Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 28, 2026, 4:06 PM
Reserved
Oct 26, 2026, 9:53 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 4:17 PM
Modified
Nov 4, 2026, 11:10 PM