CVE-2026-71284

Source
https://cve.org/CVERecord?id=CVE-2026-71284
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71284.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-71284
Published
2026-08-05T12:26:30.030Z
Modified
2026-08-07T03:47:00.280933277Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Fledge IoT Gateway Backup Restore OS Command Injection via Tar Member Filename
Details

Fledge's backup-restore upload handler, uploadbackup() (python/fledge/services/core/api/backuprestore.py), takes the first extracted tar member's filename (tarfilenames[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(backupprefix), endswith(validextensions)), 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.

Database specific
{
    "cna_assigner": "TuranSec",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71284.json",
    "cwe_ids": [
        "CWE-78"
    ]
}
References

Affected packages

Git / github.com/fledge-iot/fledge

Affected ranges

Type
GIT
Repo
https://github.com/fledge-iot/fledge
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.1.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

1.*
1.3
1.4.1
v1.*
v1.8.0
v1.8.1
v1.8.2
v1.9.0
v1.9.1
v1.9.2
v2.*
v2.0.0
v2.0.1
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v3.*
v3.0.0
v3.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71284.json"