Description
boneIO Black contains a TOCTOU race condition in the create_timedatectl_sudoers_file() function in boneio/webui/routes/timezone_sudoers.py. The function writes sudoers rules to a predictable temporary file, validates them, then installs them with root privileges. A local attacker can exploit the race window between validation and installation to substitute malicious content, or use the predictable filename for symlink attacks, resulting in arbitrary sudoers rule injection and local privilege escalation to root.

This issue was fixed in version 1.6.0.
Published: 2026-10-26
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Local Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

boneIO Black includes a time‑of‑check to time‑of‑use (TOCTOU) race condition in a function that creates a temporary sudoers file and later installs it with root privileges. During the brief period between validating the file’s contents and installing it, a local attacker can replace the temporary file with malicious content or create a symbolic link that points to an arbitrary location. If successful, the attacker injects arbitrary sudoers rules, giving them root access on the host.

Affected Systems

The vulnerability affects the boneIO boneIO product, specifically versions earlier than 1.6.0. Upgrade to 1.6.0 or later is required to remove the insecure file handling.

Risk and Exploitability

The CVSS score of 8.8 categorizes this bug as high risk, and although an EPSS score is not available, the lack of KEV listing does not diminish its danger. The flaw requires a local attacker with the ability to run code on the affected host to exploit the race window. Once the attack succeeds, the attacker gains unrestricted root privileges, enabling any system compromise.

Generated by OpenCVE AI on October 26, 2026 at 16:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade boneIO boneIO to version 1.6.0 or newer to eliminate the TOCTOU flaw.
  • Ensure the temporary directory used by boneIO has restricted write permissions and is not writable by unprivileged users, reducing the likelihood of symlink attacks.
  • Regularly audit the system’s sudoers file for unexpected changes, and monitor for modifications to temporary files created by boneIO.

Generated by OpenCVE AI on October 26, 2026 at 16:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 26 Oct 2026 15:00:00 +0000

Type Values Removed Values Added
Description boneIO Black contains a TOCTOU race condition in the create_timedatectl_sudoers_file() function in boneio/webui/routes/timezone_sudoers.py. The function writes sudoers rules to a predictable temporary file, validates them, then installs them with root privileges. A local attacker can exploit the race window between validation and installation to substitute malicious content, or use the predictable filename for symlink attacks, resulting in arbitrary sudoers rule injection and local privilege escalation to root. This issue was fixed in version 1.6.0.
Title TOCTOU Race Condition in boneIO
First Time appeared Boneio
Boneio boneio
Weaknesses CWE-367
CPEs cpe:2.3:a:boneio:boneio:*:*:*:*:*:*:*:*
Vendors & Products Boneio
Boneio boneio
References
Metrics cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-10-26T15:35:50.139Z

Reserved: 2026-08-20T09:37:37.787Z

Link: CVE-2026-77059

cve-icon Vulnrichment

Updated: 2026-10-26T15:32:02.203Z

cve-icon NVD

Status : Deferred

Published: 2026-10-26T15:16:43.787

Modified: 2026-10-26T17:11:35.487

Link: CVE-2026-77059

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T16:45:14Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition