# CVE-2026-62336: qbee-agent: Local Privilege Escalation and Arbitrary File Tampering via Symlink Following in createFile helper

- **Severity:** HIGH 8.5
- **CVSS:** 8.5 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-28)
- **CWE:** CWE-22, CWE-59, CWE-367, CWE-377
- **Aliases:** GHSA-xhv5-8fpq-g7hf, GO-2026-6989
- **Published:** 2026-11-16T19:53:38.727Z
- **Modified:** 2026-11-23T20:30:14.204Z

## Who should check

- Projects that depend on Go package go.qbee.io/agent (\< 0.0.0-20260615134032-0fdf8e411de5)
- Anyone running qbee-io qbee-agent \< 2026.27

## Description

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.

## Affected and fixed versions

- Go `go.qbee.io/agent`: affected \< 0.0.0-20260615134032-0fdf8e411de5; fixed 0.0.0-20260615134032-0fdf8e411de5 (ghsa)
- qbee-io qbee-agent: \< 2026.27 (cvelist)

## Technologies

Go modules

## Mitigation

- Upgrade go.qbee.io/agent to 0.0.0-20260615134032-0fdf8e411de5 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-62336. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-62336.md
Affected: go.qbee.io/agent < 0.0.0-20260615134032-0fdf8e411de5
Fixed in: 0.0.0-20260615134032-0fdf8e411de5

Steps:
1. Search this machine and project for go.qbee.io/agent (Go), qbee-io qbee-agent: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-62336 being exploited?

There is no confirmed exploitation: CVE-2026-62336 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-62336?

High: CVSS 8.5 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-62336?

go.qbee.io/agent \< 0.0.0-20260615134032-0fdf8e411de5.

### Is there a fix for CVE-2026-62336?

Yes. Fixed in 0.0.0-20260615134032-0fdf8e411de5. Upgrade go.qbee.io/agent to 0.0.0-20260615134032-0fdf8e411de5 or later.

### How do I check if I'm affected by CVE-2026-62336?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/qbee-io/qbee-agent/security/advisories/GHSA-xhv5-8fpq-g7hf>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-62336>
- patch: <https://github.com/qbee-io/qbee-agent/pull/131>
- patch: <https://github.com/qbee-io/qbee-agent/commit/0fdf8e411de5d0c142ae2590cf1c54bdfc2e529a>
- other: <https://github.com/qbee-io/qbee-agent/releases/tag/2026.27>
- other: <https://github.com/advisories/GHSA-xhv5-8fpq-g7hf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-62336>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-xhv5-8fpq-g7hf> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6989> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-62336> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-62336>
