CVE-2026-37531

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

Configuration 1 (hide)

cpe:2.3:o:linuxfoundation:automotive_grade_linux:*:*:*:*:*:*:*:*

History

08 Nov 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) AGL app-framework-main hasta 17.1.12 contiene una vulnerabilidad de salto de ruta Zip Slip (CWE-22) combinada con una condición de carrera TOCTOU (CWE-367) en el flujo de instalación de widgets. La función is_valid_filename en wgtpkg-zip.c valida los nombres de entrada ZIP pero no verifica secuencias de salto de directorio con notación de puntos; solo bloquea rutas absolutas. La función de extracción zread utiliza openat(workdirfd, filename, O_CREAT) que resuelve valores de notación de puntos relativos al directorio de trabajo, permitiendo que los archivos se escriban en cualquier lugar del sistema de archivos. Críticamente, en la función install_widget en el archivo wgtpkg-install.c, la extracción a través de zread ocurre ANTES de la verificación de firma a través de check_all_signatures. Incluso si la verificación de firma falla, la limpieza de errores (remove_workdir) solo elimina el directorio de trabajo temporal; los archivos escritos fuera mediante salto de ruta persisten permanentemente.

18 May 2026, 17:12

Type Values Removed Values Added
First Time Linuxfoundation automotive Grade Linux
Linuxfoundation
References () https://gerrit.automotivelinux.org/gerrit/src/app-framework-main - () https://gerrit.automotivelinux.org/gerrit/src/app-framework-main - Broken Link
References () https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643 - () https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643 - Third Party Advisory
CPE cpe:2.3:o:linuxfoundation:automotive_grade_linux:*:*:*:*:*:*:*:*

01 May 2026, 20:16

Type Values Removed Values Added
CWE CWE-367
CWE-22

01 May 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-01 17:16

Updated : 2026-11-08 16:10


NVD link : CVE-2026-37531

Mitre link : CVE-2026-37531

CVE.ORG link : CVE-2026-37531


JSON object : View

Products Affected

linuxfoundation

  • automotive_grade_linux
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition