Automotive Grade LinuxOperating system · Linuxfoundation

CVE-2026-37525

HIGH · 7.8 CVSS v3.1 Published 2026-05-01
Fix available
A fix is available. Upgrade to after 17.1.12 or later.
See remediation →
80/100
Remediation priority · High
Zero-click

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 · unedited
AGL app-framework-binder (afb-daemon) through v19.90.0 contains a privilege escalation vulnerability in the supervision Do command. The on_supervision_call function in src/afb-supervision.c explicitly nullifies the request credentials by calling afb_context_change_cred(&xreq->context, NULL) before dispatching an attacker-controlled API call via xapi->itf->call(xapi->closure, xreq). The NULL propagation chain through afb-context.c:110 (context->credentials = afb_cred_addref(NULL)) and afb-cred.c:163 (returns NULL when cred is NULL) confirms that credentials are zeroed before the target API executes. The attacker controls both api and verb parameters via JSON input, allowing execution of any registered API with a NULL credential context. APIs that rely on context->credentials for authorization decisions may fail open when receiving NULL credentials, enabling privilege escalation. This vulnerability was introduced in commit abbb4599f0b921c6f434b6bd02bcfb277eecf745 on 2018-02-14.

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 confidence

The afb-daemon supervision Do command explicitly nullifies request credentials before dispatching API calls, allowing attackers to execute any registered API with NULL credentials. This causes authorization checks relying on context->credentials to fail open, enabling privilege escalation.

MitigationAvoid nullifying credentials before dispatching API calls in on_supervision_call; ensure all APIs properly handle or reject NULL credential contexts rather than failing open.

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
Automotive Grade LinuxOperating system
Affected:<= 17.1.12

CVSS 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
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify if afb-daemon is installed
    Search for the afb-daemon binary or package in the system (e.g., 'which afb-daemon', 'dpkg -l | grep afb', or 'rpm -qa | grep afb')
    Affected if afb-daemon binary or package exists on the system
  2. Determine the Automotive Grade Linux version
    Check the AGI version file (commonly /etc/os-release or /etc/agVersion) or the ag-info command output
    Affected if The version is 17.1.12 or lower
  3. Check if supervision API is exposed
    Inspect the afb-daemon configuration (typically in /etc/afb-daemon/ or defined in the systemd service) for 'supervision' or 'supervision-call' API bindings
    Affected if The supervision API is registered and accessible
  4. Inspect the afb-daemon source or binary for credential nullification
    If source is available, review the on_supervision_call function for explicit 'context->credentials = NULL' or equivalent; if only binary, use strings/objdump to search for credential nullification patterns in the supervision handling code
    Affected if Code explicitly sets credentials to NULL before dispatching API calls
  5. Identify APIs that rely on context->credentials for authorization
    Review registered API implementations for authorization checks that reference context->credentials without NULL handling
    Affected if Any registered API performs authorization based on credentials without rejecting NULL contexts

If afb-daemon is present with AGI version 17.1.12 or lower and the supervision Do command is accessible, the credential nullification vulnerability is likely present and authorization may fail open.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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.

From vendor data
Upgrade available Upgrade to a release after 17.1.12
Interim mitigation

Avoid nullifying credentials before dispatching API calls in on_supervision_call; ensure all APIs properly handle or reject NULL credential contexts rather than failing open.

Fix this in Automotive Grade Linux Scoped from the published advisory
  • Consultation6.0 h
  • Implementation12.0 h
  • Testing10.0 h
  • Review / QA6.0 h
34.0 hours of engineering $5,940
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $9,504.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-37525 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-37525 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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