CVE-2026-37531
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAGL 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceAGL app-framework-main through version 17.1.12 has a critical path traversal vulnerability in widget installation where is_valid_filename in wgtpkg-zip.c only blocks absolute paths but not dot notation traversal sequences, allowing the zread extraction function to write files anywhere via openat with relative paths. Additionally, a TOCTOU race condition exists because widget extraction via zread occurs before signature verification via check_all_signatures, and failed verification cleanup does not remove files already written outside the work directory.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 17.1.12CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed version of app-framework-mainQuery the package manager or inspect the installed app-framework-main version (e.g., rpm -q, dpkg -l, or check /usr/lib version files depending on the AGL distribution)Affected if The installed version is 17.1.12 or any earlier version (versions <= 17.1.12 are affected)
-
Verify widget installation feature statusCheck if widget installation functionality is enabled in the AGL system configuration or service status (look for widget-related services or configuration files in the app-framework setup)Affected if Widget installation is enabled and the version is <= 17.1.12 - the path traversal vulnerability is present in the wgtpkg-zip.c component used during widget processing
-
Inspect is_valid_filename implementation in wgtpkg-zip.cIf accessible, examine the source file wgtpkg-zip.c and locate the is_valid_filename function - verify whether it only checks for absolute paths or also blocks dot notation sequences (..)Affected if The function only rejects absolute paths but allows ../ or .. sequences - the vulnerability exists
-
Check signature verification timing in widget installation flowReview the widget installation code flow to determine whether zread (extraction) occurs before check_all_signatures (verification) - this may require code inspection or configuration analysisAffected if Extraction happens before signature verification - the TOCTOU race condition is present
A user is affected if app-framework-main version is 17.1.12 or earlier AND widget installation is enabled, since both the path traversal flaw in is_valid_filename and the TOCTOU vulnerability in extraction-versus-verification ordering exist in these versions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedReorder operations to verify widget signatures BEFORE extraction; enhance is_valid_filename to reject all path traversal sequences including dot notation; implement comprehensive cleanup that tracks and removes any files written outside the intended work directory upon verification failure.
version > 17.1.12 (check AGL release notes for the specific fixed release)
- 1. Upgrade app-framework-main to a version beyond 17.1.12 that includes the fix for the Zip Slip path traversal vulnerability
- 2. If an official fixed release is not yet available, apply any vendor-supplied patches referenced in the AGL gerrit repository
- 3. As a temporary mitigation, restrict widget installation permissions to trusted sources only
- 4. Ensure signature verification occurs before any file extraction begins in the installation workflow
- 5. Implement additional validation to block dot notation directory traversal sequences (..) in addition to absolute paths
- 6. Verify that error cleanup properly removes any files written outside the intended work directory
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation20.0 h
- Testing12.0 h
- Review / QA6.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $12,288.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-37531 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-37531 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data