CVE-2026-71283

Fledge IoT Gateway Backup Restore Tar Path Traversal

Published Aug 5, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
Description
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. Requires the admin role (@has_permission("admin")).

Analysis

AI-generated

Technical impact

The vulnerability resides in Fledge’s backup‑restore upload handler, which calls tarfile.extractall on an uploaded tar archive without filtering or path validation, constituting a classic CWE‑22 path traversal weakness. A crafted archive can contain filenames such as "../" that cause the extraction routine to write files outside the intended temporary directory. This allows an administrator‑level user to write arbitrary files anywhere accessible to the Fledge process, potentially leading to configuration tampering, credential leakage, or further exploitation of the system. The prior description was updated, but the described vulnerability and its impact remain consistent with this analysis.

Affected Systems

All releases of the Fledge IoT Gateway that include the backup‑restore API endpoint in the core services. The exact version is unspecified, so any installation that has not applied a patch to the upload_backup() function is susceptible.

Risk and Exploitability

The CVSS score of 4.9 indicates a moderate severity. The EPSS score is < 1%, suggesting a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with the "admin" role, as enforced by @has_permission("admin"). Once the path traversal is abused, the attacker can write files with the permissions of the Fledge process, giving them significant local impact. While the vector is limited to users who can access the admin API, the impact on confidentiality, integrity, and availability is substantial if the adversary gains those privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Fledge release that patches the backup‑restore handler to validate and sanitize tar member paths before extraction.
  • If patching is not immediately possible, restrict the backup‑restore API to a trusted network segment or enforce strict firewall rules to limit who can access the admin endpoint.
  • Implement application‑level sandboxing or chroot for the Fledge process so that even if an attacker writes files, they are confined to a limited filesystem space.
  • Disable or remove the backup‑restore feature if it is not required for operations.
  • When configuring services, ensure the Fledge process runs with the least privileged account necessary to reduce the damage scope of any successful exploitation.

Generated by OpenCVE AI on August 10, 2026 at 20:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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")). 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. Requires the admin role (@has_permission("admin")).
Title Fledge IoT Gateway - Backup Restore Tar Path Traversal Fledge IoT Gateway Backup Restore Tar Path Traversal
Type Values Removed Values Added
Title Fledge IoT Gateway Backup Restore Tar Path Traversal Fledge IoT Gateway - Backup Restore Tar Path Traversal
Type Values Removed Values Added
First Time appeared Fledge-iot
Fledge-iot fledge
Vendors & Products Fledge-iot
Fledge-iot fledge
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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")).
Title Fledge IoT Gateway Backup Restore Tar Path Traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Aug 10, 2026, 11:47 AM
Reserved
Aug 5, 2026, 12:23 PM
Status
Deferred
Published
Aug 5, 2026, 1:24 PM
Modified
Oct 23, 2026, 9:10 PM