Skip to main content

qbee-agent EUVDEUVD-2026-126623

| CVE-2026-62336 HIGH
Path Traversal (CWE-22)
2026-11-16 GitHub_M GHSA-xhv5-8fpq-g7hf
8.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local unprivileged account managed by SSH Keys bundle
  2. Exploit
    Replace ~/.ssh with symlink to /root/.ssh
  3. Execution
    Root agent follows link, writes provisioned key
  4. Impact
    SSH login as root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Primary vector requires a local unprivileged account whose user is managed by the qbee SSH Keys bundle, allowing the attacker to replace their own ~/.ssh with a symlink to /root/.ssh - this works even with fs.protected_symlinks=1 because the link lives in the attacker's own home directory. Secondary vector requires the device to use RAUC download mode AND fs.protected_symlinks disabled (=0), so the predictable world-writable /tmp/.bundle.raucb.part staging path can be redirected to a system file during an update. Tertiary vector requires an operator to have configured a file-distribution/template destination beneath a directory the unprivileged attacker controls, redirecting the partial-download path so the agent chowns a sensitive file. Limiting factors across all vectors: local access is mandatory (AV:L), an existing low-privileged account is needed (PR:L), and the primary high-impact path depends on the SSH Keys bundle being enabled for untrusted local accounts; versions prior to 2026.27 are affected.

Impact

This is a genuine, actionable local privilege-escalation issue rather than an inflated high-CVSS score. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) describes a local attacker who already holds an unprivileged account, needs no user interaction, and faces low complexity, yielding High impact to confidentiality, integrity and availability (VC:H/VI:H/VA:H) with no subsequent-system scope change (SC/SI/SA:N). No EPSS score was supplied and the CVE is not listed in CISA KEV, so there is no evidence of active or widespread exploitation; the vuln.today decision label is 'this_week', indicating prompt but not emergency prioritization. A public PoC reference exists in the form of the reproducing unit test added in fix PR #131, though it is not verified as a packaged working exploit. The key limiting factor is that exploitation is local and, for the primary root-escalation vector, requires the attacker's account to be managed by the SSH Keys bundle - so real-world risk concentrates on multi-user managed devices rather than single-tenant appliances. No signals conflict: the local vector, low privilege requirement, and absence of KEV/EPSS data are mutually consistent with a serious but not mass-exploited local flaw.

Exploit ScenarioDerived

An unprivileged local user on a qbee-managed device whose account is handled by the SSH Keys bundle deletes their own ~/.ssh and replaces it with a symlink to /root/.ssh. On the next configuration apply the root-privileged agent follows the link and writes the user's provisioned public key into /root/.ssh/authorized_keys, after which the attacker logs in over SSH as root. A reproducing PoC test accompanies the fix in PR #131, confirming the mechanism; because the symlink sits inside the user's own home directory, fs.protected_symlinks does not block it.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Local privilege escalation in qbee-agent before 2026.27 lets an unprivileged local user managed by the qbee SSH Keys bundle replace their own ~/.ssh directory with a symlink to /root/.ssh, so that the root-privileged agent's createFile helper writes the server-provisioned public key into root's authorized_keys and grants immediate root SSH access. Two further vectors - a predictable /tmp/.bundle.raucb.part staging path used during RAUC download-mode updates (only when fs.protected_symlinks=0) and a file-distribution destination located under an attacker-owned directory - allow arbitrary file overwrite, truncation, or re-ownership of sensitive system files, and all three can produce denial of service. No public exploit code or active exploitation is confirmed at time of analysis; the distinctive strength of the primary vector is that it bypasses kernel symlink protections because the malicious link sits inside the attacker's own home directory.

RemediationAI

Upgrade qbee-agent to 2026.27 or newer, which hardens privileged file creation in app/configuration/file_manager.go (O_NOFOLLOW plus os.Lstat ancestor validation that refuses symlinked path components); the release is available at https://github.com/qbee-io/qbee-agent/releases/tag/2026.27 and details are in GHSA-xhv5-8fpq-g7hf. If upgrading is not immediately feasible, the vendor lists three workarounds: disable the SSH Keys bundle for non-trusted local accounts to close the root-escalation vector (at the cost of losing centralized SSH key management for those users); enforce strict permissions and monitoring on managed users' home directories to prevent unprivileged replacement of ~/.ssh with a symlink; and set fs.protected_symlinks=1 via sysctl to mitigate the /tmp RAUC staging vector - noting this does not address the home-directory vector, and the RAUC vector additionally presupposes that protection is currently disabled. Operators should also avoid configuring file-distribution or template destinations beneath attacker-controlled directories until the agent is patched, and review for existing attacker-planted symlinks or unauthorized entries in /root/.ssh/authorized_keys.

Affected VersionsENISA

qbee-agent < 2026.27

Affected Packages

go go.qbee.io/agent fix: 0.0.0-20260615134032-0fdf8e411de5
euvd qbee_agent fix: 2026.27

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

qbee-agent is the Go-based device agent of the qbee.io IoT fleet management platform, typically running as root to apply configuration bundles. Its file manager (app/configuration/file_manager.go) implements createFile() and makeDirectories(), which materialize files such as ~user/.ssh/authorized_keys in the SSH Keys bundle and the RAUC partial-download staging file. The root cause is classic path-traversal/link-following (CWE-22, with CWE-59 link following, CWE-367 TOCTOU and CWE-377 insecure temporary file elements noted by the vendor): the privileged writer opened destinations with os.O_RDWR|os.O_CREATE[|O_TRUNC] without O_NOFOLLOW, and makeDirectories() validated ancestors with symlink-following os.Stat instead of os.Lstat, so a symlinked intermediate directory (~/.ssh -> /root/.ssh) or a symlinked final component was transparently resolved by the kernel. The same pattern turns the world-writable, predictable /tmp/.bundle.raucb.part path into a redirection primitive for update data, and lets the agent's file.Chown() call land on an attacker-chosen file. The vendor fix adds syscall.O_NOFOLLOW to the open flags, switches ancestor validation to os.Lstat with explicit rejection of ModeSymlink components, and always materializes/validates ancestors before use; a regression test (Test_createFile_doesNotFollowSymlinks) reproduces both the authorized_keys and RAUC staging variants. CVSS 4.0 scores the issue 8.5 (AV:L/AC:L/PR:L/UI:N, high confidentiality, integrity and availability impact); the trigger requires local access and, for the highest-impact path, an account whose SSH keys are managed by the bundle.

Know when Qbee Agent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.5 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.8 HIGH

Local existing-user attack with no interaction and low complexity (AV:L/AC:L/PR:L/UI:N); root-file write/chown gives full C/I/A:H, scope unchanged as impact stays within the host OS.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 21:02 EUVD
CVE Published
Nov 16, 2026 - 19:53 cve.org
HIGH 8.5

DescriptionCVE.org

qbee-agent is the device agent component of the qbee.io IoT device management platform. Prior to 2026.27, the privileged createFile helper followed attacker-controlled symbolic links during file creation. A local unprivileged user whose account is managed by the SSH Keys bundle could replace ~/.ssh with a link to /root/.ssh, causing the agent to write an authorized key for root. On systems using RAUC download mode with ineffective kernel symlink protection, the predictable /tmp/.bundle.raucb.part path could be linked to a system file and then overwritten or truncated during an update. A file-distribution destination beneath an attacker-controlled directory could similarly redirect the partial-download path so the agent changed ownership of a sensitive file. These vectors could result in root privilege escalation, arbitrary file modification, or denial of service. This issue is fixed in version 2026.27.

Technical POC Analysis

The flaw is improper link resolution before file access in the privileged createFile helper inside app/configuration/filemanager.go.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-62336 in qbee-agent (before 2026.27) is a high-severity local privilege escalation vulnerability that allows any unprivileged local user to obtain root access, directly compromising the integrity of managed endpoints. Leadership should care because this undermines the security posture of all qbee-managed systems and could enable lateral movement or data exfiltration by insiders or compromised accounts.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include limiting local user access, enabling fs.protected_symlinks=1 where possible, and monitoring for symlink manipulation in user home directories.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche IoT device-management agent, industry-specific deployment footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy