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")).
Published: 2026-08-05
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 10 Aug 2026 12:00:00 +0000

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

Mon, 10 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Title Fledge IoT Gateway Backup Restore Tar Path Traversal Fledge IoT Gateway - Backup Restore Tar Path Traversal

Fri, 07 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Fledge-iot
Fledge-iot fledge
Vendors & Products Fledge-iot
Fledge-iot fledge

Wed, 05 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 05 Aug 2026 13:15:00 +0000

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'}


Subscriptions

Fledge-iot Fledge
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T11:47:08.697Z

Reserved: 2026-08-05T12:23:34.968Z

Link: CVE-2026-71283

cve-icon Vulnrichment

Updated: 2026-08-05T15:52:59.221Z

cve-icon NVD

Status : Received

Published: 2026-08-05T13:24:52.970

Modified: 2026-08-10T12:17:30.903

Link: CVE-2026-71283

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T21:00:04Z

Weaknesses
  • CWE-22

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