Skip to main content
EPSS 0.2%top 96%

CVE-2026-12631: auth in zephyrproject zephyr

0
Medium
VulnerabilityCVE-2026-12631cvecve-2026-12631
Published: 08/18/2026 (08/18/2026, 20:55:42 UTC)
Source: CVE Database V5
Vendor/Project: zephyrproject
Product: zephyr

Description

CVE-2026-12631 is a vulnerability in the Zephyr kernel affecting the k_thread_join() and k_thread_abort() system calls. The kernel incorrectly handles access denial errors during thread object validation, leading to either a kernel crash or an access-control bypass depending on the compiler used. This flaw allows an unprivileged user-mode thread to cause a denial of service or potentially bypass access controls. The issue affects Zephyr versions from 2.3.0 up to but not including 4.4.2. A fix is available that corrects the verification logic to properly terminate unauthorized callers.

CVSS v3.1

Score 6.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Affected software

zephyrproject

zephyr

Affected versions
>=2.3.0 <4.4.2
GitHub Actionsmore threats →cve
zephyr
pkg:github/zephyr
Affected versions
>=2.3.0 <4.4.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 20:47:47 UTC

Technical Analysis

The Zephyr kernel validates k_thread_join() and k_thread_abort() syscalls via thread_obj_validate(). When access is denied (returning -EPERM or -EBADF), the kernel was supposed to raise a kernel oops via K_OOPS. However, due to incorrect use of K_SYSCALL_VERIFY_MSG, the error code was treated as success, preventing the oops and causing execution to reach CODE_UNREACHABLE. On Clang builds, this triggers an illegal instruction trap causing a kernel crash (denial of service). On GCC builds, undefined behavior may allow unauthorized access to thread objects, resulting in an access-control bypass. The fix changes the verification to check for ret == 0, ensuring proper termination of unauthorized calls.

Potential Impact

An unprivileged user-mode thread can exploit this vulnerability to cause a local denial of service by crashing the kernel or, depending on the compiler, bypass access controls to thread objects. This breaks the userspace sandbox and can disrupt system stability. There is no indication of confidentiality or integrity impact beyond the described denial of service and access control bypass.

Mitigation Recommendations

A fix is available that corrects the verification logic to properly raise a kernel oops on access denial, terminating unauthorized callers. Users should upgrade to Zephyr version 4.4.2 or later where this issue is resolved. No additional mitigation is required if the fix is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
zephyr
Date Reserved
2026-06-18T15:22:26.927Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a84c9abc6e8be0332bf084c

Added to database: 08/18/2026, 21:07:55 UTC

Last enriched: 09/11/2026, 20:47:47 UTC

Last updated: 10/02/2026, 02:46:02 UTC

Views: 34

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses