Security Vulnerability Report
中文
CVE-2026-46728 CVSS 8.2 HIGH

CVE-2026-46728

Published: 2026-05-16 22:16:13
Last Modified: 2026-05-16 22:16:13

Description

Das U-Boot before 2026.04 allows FIT (Flat Image Tree) signature verification bypass because hashed-nodes is omitted from a hash.

CVSS Details

CVSS Score
8.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Das U-Boot < 2026.04

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ PoC Concept for CVE-2026-46728 This script demonstrates the logic of the vulnerability where hashed-nodes are omitted from the signature calculation, allowing for bypass. """ def verify_signature_vulnerable(fit_image, signature): # Simulated vulnerable verification logic calculated_hash = hashlib.sha256() # In the vulnerable version (U-Boot < 2026.04), specific nodes are skipped # during hashing, represented here as 'hashed-nodes' for node in fit_image.nodes: if node.name == "hashed-nodes": continue # VULNERABILITY: Skipping the node calculated_hash.update(node.data) return calculated_hash.digest() == signature def verify_signature_secure(fit_image, signature): # Secure logic hashes all relevant nodes calculated_hash = hashlib.sha256() for node in fit_image.nodes: calculated_hash.update(node.data) return calculated_hash.digest() == signature # Attack Scenario: # 1. Attacker modifies the content of 'hashed-nodes' in the FIT image. # 2. The signature remains unchanged because it was calculated without this node. # 3. verify_signature_vulnerable returns True, bypassing secure boot. print("PoC: Modifying hashed-nodes bypasses verification in vulnerable versions.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-46728", "sourceIdentifier": "[email protected]", "published": "2026-05-16T22:16:13.317", "lastModified": "2026-05-16T22:16:13.317", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "Das U-Boot before 2026.04 allows FIT (Flat Image Tree) signature verification bypass because hashed-nodes is omitted from a hash."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.5, "impactScore": 6.0}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-346"}]}], "references": [{"url": "https://github.com/barebox/barebox/security/advisories/GHSA-3fvj-q26p-j6h4", "source": "[email protected]"}, {"url": "https://github.com/u-boot/u-boot/commit/2092322b31cc8b1f8c9e2e238d1043ae0637b241", "source": "[email protected]"}]}}