Skip to main content

Fledge CVE-2026-71283

| EUVDEUVD-2026-53368 MEDIUM
Path Traversal (CWE-22)
2026-08-05 TuranSec GHSA-qc6r-chrx-m659
4.9
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Recon
    Obtain or compromise Fledge admin credentials
  2. Delivery
    Authenticate to Fledge core REST API
  3. Exploit
    Craft tar archive with '../' path-traversal members
  4. Install
    POST archive to upload_backup() endpoint
  5. C2
    tarfile.extractall() writes files outside temp directory
  6. Execute
    Arbitrary file written to target path (e.g., cron, SSH keys)
  7. Impact
    Persistent 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

fledge 0 ≤3.1.0

Affected Packages

euvd fledge no fix

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

Vendor (TuranSec) PRIMARY 4.9 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 4.9 MEDIUM

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

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

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

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

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
niche IoT data services platform, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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.

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