Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or compromise Fledge admin credentials
-
DeliveryAuthenticate to Fledge core REST API
-
ExploitCraft tar archive with '../' path-traversal members
-
InstallPOST archive to upload_backup() endpoint
-
C2tarfile.extractall() writes files outside temp directory
-
ExecuteArbitrary file written to target path (e.g., cron, SSH keys)
-
ImpactPersistent access or privilege escalation achieved
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 | Exploitation requires possession of a valid Fledge admin-role account (@has_permission('admin') decorator enforces this at the API layer). Without admin credentials, the upload endpoint is inaccessible and exploitation is blocked. The attack is further constrained by the filesystem permissions of the Fledge process user - writes are limited to paths that user can access, so root-level paths are only reachable if Fledge runs as root or a privileged account. No special non-default configuration is required beyond having the backup-restore API enabled, which is a standard Fledge deployment feature. Limiting factors: authentication barrier (PR:H), Fledge process user's OS-level file permissions, and network accessibility of the Fledge core API port. |
| Impact | The CVSS 3.1 score of 4.9 (Medium) is anchored almost entirely by the PR:H requirement - the attack is gated behind admin-role authentication, which substantially limits the realistic attacker population. AV:N/AC:L confirms the endpoint is network-reachable and mechanically simple to exploit once credentials are obtained. There is no EPSS data provided, and the vulnerability is absent from CISA KEV, suggesting no observed mass exploitation. The I:H rating is well-justified: arbitrary writes to any path the Fledge process can reach can result in persistence mechanisms (e.g., cron jobs, SSH authorized_keys, web shells if a web server runs under the same user), privilege escalation, or full system compromise - consequences significantly more severe than the Medium CVSS score suggests in isolation. The key risk gate is admin credential compromise: if Fledge admin accounts are shared, weakly protected, or exposed externally, the effective exploitability rises sharply. No conflicting signals between CVSS vector and the description are present. |
| Exploit ScenarioDerived | An attacker who has obtained or compromised Fledge admin credentials authenticates to the Fledge core API and POSTs a crafted tar archive to the backup-restore upload endpoint. The archive contains a member named ../../../../home/fledge/.ssh/authorized_keys with the attacker's SSH public key as its content. When upload_backup() calls tarfile.extractall(temp_path), the member is extracted to the absolute path outside the temp directory, granting the attacker direct SSH access to the host as the Fledge service account. No public exploit code has been identified, but crafting such an archive requires only standard tooling (e.g., Python's tarfile module or GNU tar). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Arbitrary file write via tar path traversal in Fledge's backup-restore API allows an authenticated admin to overwrite files anywhere on the host filesystem reachable by the Fledge process. The upload_backup() handler in backup_restore.py calls Python's tarfile.extractall() without a filter argument or member-path sanitization, enabling a classic 'tar slip' attack. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, but the attack is mechanically trivial for any actor holding admin credentials.
RemediationAI
No vendor-released patched version has been confirmed at time of analysis - the references link only to the upstream repository without a tagged fix release or advisory. Upstream fix available (PR/commit) status is unknown; monitor https://github.com/fledge-iot/fledge for patch releases. As an immediate compensating control, restrict admin-role account access to the smallest possible set of trusted operators, enforce strong credentials, and avoid exposing the Fledge core API to untrusted networks or the public internet. If running Python 3.12 or later, a code-level workaround is to pass filter='data' to tarfile.extractall() in upload_backup(), which strips absolute paths and '../' sequences; however, this requires a local code patch not yet validated by the upstream maintainer. For earlier Python versions, add explicit per-member path validation before extraction: check that os.path.abspath(os.path.join(temp_path, member.name)).startswith(os.path.abspath(temp_path)). Note that restricting filesystem permissions for the Fledge process user limits the blast radius of exploitation but does not eliminate the vulnerability.
Affected VersionsENISA
Affected Packages
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
Fledge (cpe:2.3:a:fledge-iot:fledge:*:*:*:*:*:*:*:*) is an LF Edge open-source IoT data management platform written in Python. The vulnerable code resides in python/fledge/services/core/api/backup_restore.py. Python's tarfile.extractall() has a well-documented path traversal risk (CWE-22): without a filter='data' argument (introduced in Python 3.12) or explicit per-member path normalization, archive members named with '../' sequences are extracted relative to the destination directory, silently writing files above it. This is sometimes called 'tar slip' and is a recurring class of vulnerability in Python applications that handle user-supplied archives. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), directly manifested by the absence of any path stripping or prefix-check logic before extraction.
Know when Fledge 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
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Network-accessible API requires admin authentication (PR:H); no user interaction; writes files but reads none (C:N); integrity fully compromised via arbitrary write (I:H).
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
Fledge's backup-restore upload handler, upload_backup() (python/fledge/services/core/api/backup_restore.py), calls tarfile.extractall(temp_path) on an admin-uploaded tar archive with no filter argument and no per-member path validation. A crafted tar archive containing member names with ../ path components extracts files outside the intended temporary directory, allowing arbitrary file writes anywhere on the filesystem reachable by the Fledge process. Requires the admin role (@has_permission("admin")).
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-53368
GHSA-qc6r-chrx-m659
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB