Skip to main content

FOG Project CVE-2026-142062

| EUVDEUVD-2026-141226 HIGH
Path Traversal (CWE-22)
2026-12-02 AISLE GHSA-pmw2-3ff7-39m8
7.1
CVSS 3.1 · Vendor: AISLE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to FOG web UI with snapin permission
  2. Delivery
    Intercept multipart upload, set filename to '.'
  3. Exploit
    Sanitizer preserves dot, destination resolves to snapin directory
  4. Execution
    FOGSSH::delete() recursively unlinks directory contents
  5. Impact
    Destroy top-level snapin payloads or queue root-level FileDeleter deletion across nodes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated FOG web-UI session held by a user with the snapin.create or snapin.edit permission, who then intercepts the snapin-upload multipart POST (or hits POST /storagegroup/{id}/uploadsnapinfiles, or persists a snapin row with file='.' and deletes it) and sets the upload filename to '.'. Limiting factors: on a stock install only administrators hold snapin.create/snapin.edit, so impact depends on whether those permissions are delegated to a custom role; the flaw affects only the working-1.6 branch (1.6.0-alpha.1315 through pre-beta.2760) where snapin transfer uses SFTP, and is NOT exploitable on 1.5.x dev-branch (FOGFTP::exists() skips '.' and '..'). A filename of '..' destroys nothing on a default install because /opt/fog is root:root 755 under a non-root SFTP session; the destructive '.' deletion is limited to top-level files on the group's master node, but the file-delete-queue path escalates it to root across all enabled nodes via the FileDeleter daemon.

Impact

This is a genuine but access-gated risk rather than a mass-exploitation emergency. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L, base 7.1) is network-reachable and low-complexity but requires privileges (PR:L) - specifically an authenticated web-UI user holding the snapin.create or snapin.edit permission, which on a stock FOG install only administrators possess. The vuln.today decision label is 'this_week', consistent with a serious but not drop-everything priority. No CISA KEV listing is present in the input, so this is not confirmed actively exploited; no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the data. The GHSA advisory includes a concrete step-by-step PoC (multipart filename set to '.'), so exploitability is well-documented even though no independent weaponized exploit tool is cited. The real risk concentrates where snapin.create/snapin.edit is delegated to a non-admin custom role (the FOG role model supports this), turning the flaw into privilege escalation into destructive file deletion; the file-delete-queue path is the most dangerous channel because the FileDeleter daemon runs as root across every enabled node, bypassing the SFTP user's constraints. Impact is integrity/availability (data destruction and worker DoS), not confidentiality - so despite the 7.1 score this is a destructive-availability issue, not an RCE or data-theft bug.

Exploit ScenarioDerived

An authenticated FOG user with snapin create or edit permission opens Add/Edit Snapin, chooses any file, then intercepts the multipart POST and rewrites the file part's Content-Disposition filename to '.'; the sanitizer preserves the dot so the destination resolves to the snapin storage directory itself and FOGSSH::delete() empties every top-level snapin payload on the master node before the upload completes (the request returns HTTP 500 from recursive stack exhaustion). A documented PoC for this exact flow exists in the vendor GHSA advisory. The low-complexity network vector (AV:N/AC:L) means the only real barrier is holding the snapin permission.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Authenticated FOG Project users on the working-1.6 branch who hold snapin.create or snapin.edit can destroy every top-level snapin payload on a storage group's master node by submitting a snapin upload whose multipart filename is '.', because the sanitizer in snapinmanagement.page.php preserves the dot so the destination resolves to the snapin storage directory itself and FOGSSH::delete() empties it before the upload proceeds. The same deletion can be queued for the root-running FileDeleter daemon, which carries it across all enabled nodes in the group, and the recursive self-call in delete() also exhausts the PHP worker stack, returning HTTP 500. Only 1.6.0-alpha.1315 through versions before 1.6.0-beta.2760 are affected (1.5.x dev-branch is not exploitable), exploitation requires an authenticated session with those snapin permissions (CVSS PR:L), and a public proof-of-concept procedure is published in the vendor advisory; no confirmed working exploit code or KEV-listed active exploitation is identified in the available data.

RemediationAI

Upgrade FOG Project to 1.6.0-beta.2760 or later on the working-1.6 branch, which contains commit f1bf27a37f689482d1aa7cc7dfa7661b83a406e7 (advisory GHSA-jrqm-2f74-45vc). The fix routes all snapin upload sites through a single sanitizeSnapinFileName() chokepoint that rejects '', '.' and '..' outright, replaces the recursive FOGSSH::delete() calls in the upload paths with a new non-recursive unlinkFile() helper so a bad filename fails the upload instead of emptying the directory, and widens the FileDeleter guard to (^|/)\.\.?(/|$) so queued deletions of exactly '.' or '..' are blocked. Because exploitation requires snapin.create or snapin.edit, the vendor notes that on a stock install only administrators hold those permissions; where they have been delegated to custom roles, revoke that delegation from non-administrative roles until the upgrade is applied, and audit existing snapin rows for a stored file value of '.' so the FileDeleter queue path is not left pending. Note that no workaround short of upgrading or restricting those permissions addresses the queued FileDeleter path, since that daemon runs as root against every enabled node in the group.

Affected VersionsENISA

fogproject 1.6.0-alpha.1315 <1.6.0-beta.2760

Affected Packages

euvd fogproject fix: 1.6.0-beta.2760

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-22 path traversal that reaches a destructive filesystem operation through PHP's upload handling combined with SFTP. In both the snapin create flow (addPost()/Snapin::uploadAndCreate()) and the edit flow (snapinGeneralPost()), the client-supplied multipart filename is passed through basename() and then a normalizer, preg_replace('/[^\-\w\.]+/', '_', ...), which preserves '.' and '..' verbatim; the result is concatenated into a destination path of the form <snapinpath>/<filename>. With filename '.', that destination names the snapin directory itself rather than a file. FOGSSH, the SFTP wrapper built on the ssh2 extension (ssh2.sftp:// stream wrapper, sftp_rmdir/sftp_unlink), then calls delete() on the destination; rmdir on '.' fails with EINVAL and unlink fails with EISDIR, so delete() falls into its recursive branch, scans the directory and unlinks its contents. A double-prefix bug in that scan limits the blast radius to top-level files (subdirectories survive), and an unconditional self-recursion at the end of delete() exhausts the PHP worker stack, producing the HTTP 500 that terminates the request. Three additional sinks were identified by the maintainer: Snapin::uploadFilesToNode(), reachable via POST /storagegroup/{id}/uploadsnapinfiles, and a second-order path in which a snapin row is persisted with file='.' and no upload at all, so that deleting the snapin queues a deletion the FileDeleter daemon executes as root against every enabled node in the group - bypassing the non-root SFTP user's permission constraints. On a default install that constraint is what makes filename '..' harmless: /opt/fog is root:root 755 and the SFTP session is non-root, so child entries cannot be unlinked. The dot-preserving normalizer has existed since 2019 (8e44954c37) but the destructive delete-before-put path was introduced in June 2024 (8b5bac565e / a7a39da0e9) with the move to SFTP snapin transfer; the 1.5.x dev-branch uses FTP and FOGFTP::exists() explicitly skips '.' and '..', so it is not exploitable.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AISLE) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
vuln.today AI 7.1 HIGH

Network-reachable web upload (AV:N/AC:L) but requires the snapin.create/edit privilege (PR:L); destructive file deletion gives I:H, worker/snapin outage gives A:L, no data disclosure so C:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (AISLE).

CVSS VectorVendor: AISLE

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 13:02 EUVD
CVE Published
Dec 02, 2026 - 11:47 cve.org
HIGH 7.1

DescriptionCVE.org

FOG Project 1.6.0-alpha.1315 before 1.6.0-beta.2760 contains a path traversal vulnerability in the snapin upload handlers in snapinmanagement.page.php, whose filename sanitizer preserves . and .., so a filename of . resolves to the snapin storage directory itself, which FOGSSH::delete() then empties before the upload. Authenticated users with snapin create or edit permission can upload a file named . to delete every top-level snapin file on the storage group's master node, or queue the same deletion for the root FileDeleter service across all nodes in the group.

Technical POC Analysis

CWE-22 path traversal in FOG Project's own web application code, not in a third-party library.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity flaw in FOG Project's 1.6 development branch allows authenticated users holding snapin create or edit privileges to wipe all top-level snapin payloads across a storage group's nodes, potentially disrupting imaging and software deployment operations organization-wide. Leadership should care because a single low-privileged insider or compromised account could cause broad, cross-node data loss and service disruption, though exploitation requires valid credentials and no confirmed working attack code or active exploitation has been observed.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting snapin.create and snapin.edit to trusted administrators, enforcing least privilege on FOG accounts, monitoring or blocking uploads with '.' filenames, backing up master-node snapin storage, and monitoring FileDeleter daemon activity across nodes.

Threat Intelligence Overview

EPSS Score
0.7%
Top 46% exploitable
Prevalence
Low
niche open-source imaging/cloning tool, mainly education and IT labs
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy