{"schemaVersion":3,"id":"CVE-2026-37531","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-05-01T00:00:00.000Z","modified":"2026-05-01T19:45:23.782Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00851,"percentile":0.57524,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.14,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00711},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00851,"percentile":0.57524}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00711,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00851,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00851,"percentile":0.57524}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition","description":"The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/367.html"}],"affected":[{"vendor":"linuxfoundation","product":"automotive_grade_linux","name":"automotive grade linux","label":"automotive_grade_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 17.1.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 17.1.12","eol":null,"hubHref":"/vendor/linuxfoundation/automotive_grade_linux"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gerrit.automotivelinux.org/gerrit/src/app-framework-main","label":"gerrit.automotivelinux.org/gerrit/src/app-framework-main","hostname":"gerrit.automotivelinux.org","tags":["Broken Link"]},{"url":"https://gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643","label":"gist.github.com/sgInnora/8526eedcfd826d05ef1fc45d8f405643","hostname":"gist.github.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-01T19:45:23.782Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:59:03.900Z","stale":false,"partial":false}}