CVE-2026-62336: qbee-agent: Local Privilege Escalation and Arbitrary File Tampering via Symlink Following in createFile helper
Published 2026-11-17 · Updated 2026-11-23 · Also known as GHSA-xhv5-8fpq-g7hf, GO-2026-6989
Summary
A local privilege escalation and arbitrary file tampering vulnerability exists in the qbee-agent due to improper symlink handling in the createFile helper. Engineering teams and administrators managing devices with qbee-agent should upgrade to version 2026.27 or newer immediately.
Who is affected
Managed devices running qbee-agent up to the affected versions are vulnerable across three distinct vectors. Attackers with unprivileged local access can leverage symlinks in their home directories, predictable staging paths in /tmp, or file distribution configurations to escalate privileges to root, perform arbitrary file overwrites, or re-own system files.
Exploitability
The vulnerability requires local access with low privileges and no user interaction, but attack complexity is low and privileges required are low. The CVSS 4.0 base score is not computed, EPSS is 0.002 with a 0.074 percentile, and CISA Known Exploited Vulnerabilities status is no.
Remediation
- Upgrade qbee-agent to version 2026.27 or newer.
- Disable the SSH Keys Bundle if immediate upgrading is not feasible.
- Restrict local home directory alterations and enable kernel symlink protection by ensuring fs.protected_symlinks=1.
How to check your project
- Check the installed qbee-agent version to determine if it falls within the affected range introduced to 0.0.0-20260615134032-0fdf8e411de5.
- Inspect dependency management files such as go.mod for the go.qbee.io/agent package version.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | go.qbee.io/agent |
>= 0, < 0.0.0-20260615134032-0fdf8e411de5 | 0.0.0-20260615134032-0fdf8e411de5 | go get go.qbee.io/[email protected] |
CVSS 4.0 vector
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
| Attack vector | Local |
|---|---|
| Attack complexity | Low |
| Attack requirements | None |
| Privileges required | Low |
| User interaction | None |
| Confidentiality (vulnerable system) | High |
| Integrity (vulnerable system) | High |
| Availability (vulnerable system) | High |
| Confidentiality (subsequent systems) | None |
| Integrity (subsequent systems) | None |
| Availability (subsequent systems) | None |
Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.
FAQ
What causes the vulnerability in qbee-agent?
The vulnerability stems from improper symlink handling (CWE-59) and improper ownership management inside the qbee-agent file manager logic when creating files.
How can an attacker achieve root privilege escalation?
An unprivileged user can replace their ~/.ssh directory with a symlink pointing to /root/.ssh, causing the agent to write the server-provisioned public key directly into /root/.ssh/authorized_keys during a configuration apply.
What is the fixed version for this vulnerability?
Users should upgrade to version 2026.27 or newer to fully mitigate these vectors.
Original advisory description
References
- WEB https://github.com/qbee-io/qbee-agent/security/advisories/GHSA-xhv5-8fpq-g7hf
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-62336
- WEB https://github.com/qbee-io/qbee-agent/pull/131
- WEB https://github.com/qbee-io/qbee-agent/commit/0fdf8e411de5d0c142ae2590cf1c54bdfc2e529a
- PACKAGE https://github.com/qbee-io/qbee-agent
- WEB https://github.com/qbee-io/qbee-agent/releases/tag/2026.27
Source records: GHSA-xhv5-8fpq-g7hf, GO-2026-6989 (OSV.dev) · EPSS by FIRST, 2026-11-26.