CVE-2026-37531
Apache Gears Zip Slip Path Traversal with TOCTOU Race Condition
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.
INFO
Published Date :
May 1, 2026, 5:16 p.m.
Last Modified :
Nov. 8, 2026, 4:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-37531
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update application framework to version 17.1.13 or later.
- Apply vendor patches for the widget installation flow.
- Review and sanitize all user-supplied filenames.
- Implement secure extraction procedures.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-37531.
| URL | Resource |
|---|---|
| https://gerrit.automotivelinux.org/gerrit/src/app-framework-main | Broken Link |
| https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643 | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-37531 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-37531
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-37531 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-37531 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 08, 2026
Action Type Old Value New Value Added Translation Title: Automotive Grade Linux Kernel de Linuxfoundation, Description: 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. -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'n/a', 'product': 'n/a', 'versions': [{'status': 'affected', 'version': 'n/a'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-37531', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-05-01T19:34:07.709953Z'} -
Initial Analysis by [email protected]
May. 18, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:o:linuxfoundation:automotive_grade_linux:*:*:*:*:*:*:*:* versions up to (including) 17.1.12 Added Reference Type MITRE: https://gerrit.automotivelinux.org/gerrit/src/app-framework-main Types: Broken Link Added Reference Type MITRE: https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643 Types: Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 01, 2026
Action Type Old Value New Value Added CWE CWE-22 Added CWE CWE-367 -
New CVE Received by [email protected]
May. 01, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added Reference https://gerrit.automotivelinux.org/gerrit/src/app-framework-main Added Reference https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643