CVE-2026-37531: n/a
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
Technical Summary
This vulnerability in AGL app-framework-main (up to 17.1.12) involves improper validation of ZIP entry filenames in the widget installation process. The is_valid_filename function blocks absolute paths but does not prevent directory traversal via dot notation sequences. The zread extraction function uses openat with O_CREAT relative to a working directory file descriptor, allowing traversal outside the intended extraction directory. Critically, extraction happens before signature verification, so files written outside the temporary directory persist even if signature checks fail. This combination of Zip Slip (CWE-22) and TOCTOU race condition (CWE-367) enables an attacker to write arbitrary files anywhere on the filesystem without privileges or user interaction.
Potential Impact
An attacker can exploit this vulnerability to write arbitrary files anywhere on the filesystem during widget installation, potentially leading to full system compromise. The vulnerability allows bypassing signature verification due to extraction occurring before signature checks, leaving malicious files permanently on the system even if the widget is ultimately rejected. The CVSS 3.1 score of 9.8 reflects critical impact with network attack vector, no privileges required, no user interaction, and high confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing untrusted widgets or packages using the vulnerable AGL app-framework-main versions. Monitor vendor communications for official patches or temporary mitigations. Do not rely on signature verification alone as extraction occurs prior to signature checks.
CVE-2026-37531: n/a
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.
CVSS v3.1
Score 9.8critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in AGL app-framework-main (up to 17.1.12) involves improper validation of ZIP entry filenames in the widget installation process. The is_valid_filename function blocks absolute paths but does not prevent directory traversal via dot notation sequences. The zread extraction function uses openat with O_CREAT relative to a working directory file descriptor, allowing traversal outside the intended extraction directory. Critically, extraction happens before signature verification, so files written outside the temporary directory persist even if signature checks fail. This combination of Zip Slip (CWE-22) and TOCTOU race condition (CWE-367) enables an attacker to write arbitrary files anywhere on the filesystem without privileges or user interaction.
Potential Impact
An attacker can exploit this vulnerability to write arbitrary files anywhere on the filesystem during widget installation, potentially leading to full system compromise. The vulnerability allows bypassing signature verification due to extraction occurring before signature checks, leaving malicious files permanently on the system even if the widget is ultimately rejected. The CVSS 3.1 score of 9.8 reflects critical impact with network attack vector, no privileges required, no user interaction, and high confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid installing untrusted widgets or packages using the vulnerable AGL app-framework-main versions. Monitor vendor communications for official patches or temporary mitigations. Do not rely on signature verification alone as extraction occurs prior to signature checks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-06T00:00:00.000Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f4d687cbff5d8610136036
Added to database: 5/1/2026, 4:36:23 PM
Last enriched: 5/1/2026, 4:51:27 PM
Last updated: 6/15/2026, 4:02:00 PM
Views: 82
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.