Go
CVE-2026-62336
qbee-agent: Local Privilege Escalation and Arbitrary File Tampering via Symlink Following in createFile helper
- Severity
- High
- Published
- 17 Nov 2026
- Last changed
- 17 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.0.0-20260615134032-0fdf8e411de5
- Exploit chance
- 0.2% in the next 30 daysHigher than 7% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)Time-of-check time-of-use race condition (CWE-367)Insecure temporary file (CWE-377)Link following (CWE-59)
- Also known as
- GHSA-xhv5-8fpq-g7hf
- Sources
- OSV.dev and GitHub
Description
This is a Local Privilege Escalation (LPE) vulnerability stemming from improper symlink handling (CWE-59: Link Following) and improper ownership management (CWE-282) inside the qbee-agent file manager logic.
Any managed device running qbee-agent up to the affected versions. The impact manifests in three distinct vectors:
- Primary Vector (Full Privilege Escalation to Root - Default Configuration): If an unprivileged user's account is managed by the SSH Keys bundle, they can replace or remove their own ~/.ssh directory and create a symlink pointing to /root/.ssh. On the next configuration apply, qbee-agent follows the symlink and writes the user's server-provisioned public key directly into /root/.ssh/authorized_keys. Since the symlink resides inside the user's own home directory, kernel protections like fs.protected_symlinks do not block this execution. The attacker can then instantly log in as root via SSH.
Workarounds
If upgrading immediately is not feasible, administrators can apply the following mitigations:
- Disable the SSH Keys Bundle: Temporarily turn off SSH key management within the Qbee platform for non-trusted local accounts to eliminate the primary privilege escalation vector.
- Restrict Local Home Directory Alterations: Enforce strict file permissions or monitoring on managed user home directories to block unprivileged users from deleting or replacing ~/.ssh with a symbolic link.
Affected software
| Software | Affected versions |
|---|---|
go.qbee.io/agentGo · osv:Go:go.qbee.io/agent |
|
About go.qbee.io/agent
Vulnerabilities in go.qbee.io/agent
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-129237qbee-agent: Docker Compose build context Zip Slip writes outside context directoryMedium 5.4 16 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-62336
- GitHub Advisory Database https://github.com/advisories/GHSA-xhv5-8fpq-g7hf