The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-37531

CVE-2026-37531: AGL App-Framework Path Traversal Flaw

CVE-2026-37531 is a Zip Slip path traversal flaw in AGL app-framework-main thru 17.1.12 that allows attackers to write files anywhere on the filesystem. This post covers technical details, affected versions, and mitigations.

Published: May 7, 2026

CVE-2026-37531 Overview

CVE-2026-37531 is a path traversal vulnerability in Automotive Grade Linux (AGL) app-framework-main through version 17.1.12. The flaw combines a Zip Slip path traversal weakness [CWE-22] with a Time-of-Check Time-of-Use (TOCTOU) race condition [CWE-367] in the widget installation flow. The is_valid_filename function in wgtpkg-zip.c blocks absolute paths but fails to detect dot notation directory traversal sequences. A network-reachable attacker can craft a malicious widget archive that writes files to arbitrary filesystem locations during installation.

Critical Impact

Attackers can achieve arbitrary file write across the filesystem, leading to remote code execution and full compromise of AGL-based vehicle systems without authentication or user interaction.

Affected Products

  • AGL app-framework-main versions through 17.1.12
  • Automotive Grade Linux distributions integrating the vulnerable widget framework
  • Vehicle in-vehicle infotainment (IVI) systems built on AGL

Discovery Timeline

  • 2026-05-01 - CVE-2026-37531 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-37531

Vulnerability Analysis

The vulnerability resides in the AGL widget package installation pipeline. The is_valid_filename function in wgtpkg-zip.c validates ZIP entry names but only rejects absolute paths. It does not normalize or reject ../ traversal sequences embedded in entry names. This allows attackers to escape the intended extraction directory.

During extraction, the zread function calls openat(workdirfd, filename, O_CREAT). The openat syscall resolves dot notation values relative to the work directory file descriptor. As a result, entries containing ../ sequences are written outside the work directory to arbitrary filesystem locations the framework process can access.

A second flaw compounds the issue. In install_widget within wgtpkg-install.c, zread extraction occurs before signature verification via check_all_signatures. When signature verification fails, the cleanup routine remove_workdir only removes files inside the temporary work directory. Any files written outside that directory through path traversal persist permanently.

Root Cause

The root cause is incomplete input validation combined with an insecure operation order. Filename validation does not canonicalize paths or reject relative traversal tokens. Extraction is performed before the cryptographic signature check, violating the principle of validating before acting on untrusted input.

Attack Vector

An attacker delivers a crafted widget archive to a target AGL system via any supported installation channel. ZIP entries contain dot notation traversal sequences targeting paths such as system service directories, configuration files, or systemd unit locations. Extraction writes attacker-controlled content to those paths. Even if the archive signature is invalid, the malicious files remain on disk after cleanup, enabling persistence and code execution at the next service load.

Detection Methods for CVE-2026-37531

Indicators of Compromise

  • Files with unexpected timestamps appearing outside the AGL widget work directory after a widget installation attempt
  • Modifications to systemd unit files, shell profile scripts, or /etc configuration during widget operations
  • Failed signature verification log entries from wgtpkg-install followed by persistent files outside the work directory
  • Widget archives containing ZIP entries with ../ sequences in member names

Detection Strategies

  • Inspect ZIP archive entries before processing using tooling that flags traversal sequences in member names
  • Monitor file creation events from the widget installer process targeting paths outside its expected work directory
  • Audit openat syscall traces from wgtpkg-install for resolved paths that escape the work directory file descriptor
  • Correlate signature verification failures in wgtpkg-install logs with new files appearing on the filesystem

Monitoring Recommendations

  • Enable file integrity monitoring on system directories writable by the widget framework user
  • Log all widget installation attempts with archive hashes and entry listings for forensic review
  • Alert on creation or modification of executable files and systemd units outside the documented widget installation paths

How to Mitigate CVE-2026-37531

Immediate Actions Required

  • Upgrade app-framework-main to a version later than 17.1.12 once a patched release is available from the AGL project
  • Restrict the widget installation interface to authenticated and trusted sources only
  • Run the widget framework process under a least-privileged account with restricted filesystem write permissions

Patch Information

No fixed version is referenced in the published CVE record at the time of writing. Track the Automotive Linux Gerrit Repository for upstream patches addressing the is_valid_filename validation gap and the extraction-before-verification ordering. Additional technical context is available in the GitHub Gist Security Snippet.

Workarounds

  • Pre-validate widget archives outside the installer to reject any entry containing ../ or other traversal tokens before invoking wgtpkg-install
  • Apply mandatory access control profiles (SMACK or SELinux) to confine the widget installer process to its work directory
  • Disable network-exposed widget installation endpoints until the framework is upgraded
  • Verify archive signatures out-of-band before delivering widgets to the AGL device
bash
# Example AppArmor-style restriction confining the widget installer to its work directory
/usr/bin/wgtpkg-install {
  /var/lib/afm/widgets/work/** rw,
  /var/lib/afm/widgets/installed/** rw,
  deny /etc/** w,
  deny /usr/** w,
  deny /lib/systemd/** w,
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechAgl

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-22
  • Technical References
  • Automotive Linux Gerrit Repository

  • GitHub Gist Security Snippet
  • Related CVEs
  • CVE-2026-37526: AGL afb-daemon Privilege Escalation Flaw

  • CVE-2026-37532: AGL CAN Service Buffer Overflow Flaw

  • CVE-2026-37525: AGL afb-daemon Privilege Escalation Flaw

  • CVE-2026-37530: AGL agl-service-can-low-level RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English