CVE Professor
›
Back
CVE-2026-12631

CVE-2026-12631 — CWE-862

MEDIUM CVSS 6.5 NVD

CVE-2026-12631 is a MEDIUM severity Missing Authorization & Access Control vulnerability (CWE-862) (CVSS 6.5/10) affecting affected software system. Technical vector analysis shows that an attacker can exploit this flaw via local access (AV:L) with low-privileged access (PR:L) with zero user interaction (UI:N), triggering a scope change (S:C) across connected components and causing high-impact service disruption (A:H).

📄 Official NVD / MITRE Original Record Text

The Zephyr kernel validates the k_thread_join() and k_thread_abort() system calls (declared __syscall in include/zephyr/kernel.h) through thread_obj_validate() in kernel/thread.c. Its default switch branch is the access-denied path, taken when k_object_validate() returns -EPERM (the calling user thread was never granted access to the target thread object) or -EBADF (the supplied pointer is not a registered kernel object of the right type). That branch invoked K_OOPS(K_SYSCALL_VERIFY_MSG(ret, "access denied")), but K_SYSCALL_VERIFY_MSG treats a true expression as success; the non-zero error code ret therefore read as "verified OK", the kernel oops was never raised, and control fell through to CODE_UNREACHABLE. Because k_thread_join() and k_thread_abort() are system calls, an unprivileged user-mode thread (under CONFIG_USERSPACE) can reach this denial path directly by calling either syscall on a thread object it does not own. Instead of the offending thread being cleanly terminated, execution reaches __builtin_unreachable() while running in supervisor mode inside the syscall handler. On Clang builds CODE_UNREACHABLE emits an illegal-instruction trap, so a user thread can deterministically crash the kernel — a locally triggerable denial of service that escapes the userspace sandbox. On GCC builds the path is undefined behavior: the compiler may drop the return-value handling for thread_obj_validate(), so it can return an undefined bool; if that is false, the caller proceeds into the real k_thread_join()/k_thread_abort() implementation for a thread the user was never authorized to access, an access-control bypass. The fix changes the verification expression to ret == 0, so a denied (non-zero) result now correctly raises K_OOPS and terminates the offending caller.

Published 18.08.2026
ISO Date 2026-08-18
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Attack Vector Local AV:L
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality None C:N
Integrity None I:N
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-12631
CVSS 6.5/10 · MEDIUM · 18.08.2026
CWE: CWE-862
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: The Zephyr kernel validates the k_thread_join() and k_thread_abort() system calls (declared __syscall in include/zephyr/kernel.h) through thread_obj_validate() in kernel/thread.c. Its default switch branch is the access-denied path, taken when k_object_validate() returns -EPERM (the calling user thread was never granted access to the target thread object) or -EBADF (the supplied pointer is not …

⚡ ATTACK CHAIN
Local/physical access | low-privilege account | no user interaction | low complexity.
⚠️ Scope changes — impact can spread.

🌍 REAL WORLD IMPACT
Service can be completely taken down; pivot to other systems possible.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
6.5 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-862
References & Advisories (2)
Related CVEs
9.4
CVE-2026-126574
Missing authorization vulnerability in ASUS Control Center Datacenter and Control Center Enterprise allows re
8.8
CVE-2026-126966
SmarterTools SmarterMail Missing Authorization Privilege Escalation Vulnerability. This vulnerability allows r
8.7
CVE-2026-127222
SGLang through 0.5.23, fixed in commit 7b5fb39, contains a missing authorization vulnerability in the POST /lo
8.3
CVE-2026-128664
An insecure password reset vulnerability in the Admin Password Recovery Module of PHPGurukul News Portal Proje
8.2
CVE-2026-130710
NocoDB before 2026.09.0 contains a missing authorization vulnerability in the job status polling endpoint of j
8.1
CVE-2026-116764
The The GDPR Framework By Data443 plugin for WordPress is vulnerable to authorization bypass in all versions u