CVE 9.8 CRITICAL

CVE-2026-37531_CVE-2026-37531

9.8 / 10
CRITICAL
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N

Description

AGL app-framework-main thru 17.1.12 contains a Zip Slip path traversal vulnerability (CWE-22) combined with a TOCTOU race condition (CWE-367) in the widget installation flow. The is_valid_filename function in wgtpkg-zip.c validates ZIP entry names but does not check for dot notation directory traversal sequences it only blocks absolute paths. The zread extraction function uses openat(workdirfd, filename, O_CREAT) which resolves dot notation values relative to the work directory, allowing files to be written anywhere on the filesystem. Critically, in function install_widget in file wgtpkg-install.c, extraction via zread occurs BEFORE signature verification via check_all_signatures. Even if signature verification fails, the error cleanup (remove_workdir) only deletes the temporary work directory files written outside via path traversal persist permanently.

AI Analysis

Zip Slip path traversal vulnerability combined with a TOCTOU race condition in the widget installation flow

Basic Information

ID CVE-2026-37531
Source mitre
Published May 1, 2026 at 00:00
Modified May 1, 2026 at 16:28

Affected Product

Vendor Automotive Grade Linux
Product app-framework-main
Version 17.1.12
Affected Versions n/a n/a n/a

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor Automotive Grade Linux
Product app-framework-main
Version 17.1.12

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.