CVE-2026-77059: boneIO Black TOCTOU race condition in timezone_sudoers

CVE-2026-77059 · Severity: info · Published 2026-10-26

boneIO Black is a home automation controller that manages electrical devices through a web interface. A race condition in the timezone configuration function allows a local attacker to inject malicious sudoers rules during a window between validation and installation, gaining root-level privileges. This affects systems where untrusted local users have access to the controller.

Technologies: boneIO Black. Vendors: boneIO.

Quick answers

Is CVE-2026-77059 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-77059 being exploited in the wild.
How severe is CVE-2026-77059?
Informational severity, published 26 October 2026.
Which products and versions are affected?
boneIO Black before 1.6.0.
Is there a fix for CVE-2026-77059?
Yes: fixed in 1.6.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-77059 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2026-77059?
Check whether you run boneIO Black at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 1.6.0

Technical details

A TOCTOU (time-of-check-time-of-use) race condition exists in create_timedatectl_sudoers_file() in boneio/webui/routes/timezone_sudoers.py, where sudoers rules are written to a predictable temporary file, validated, then installed with root privileges. A local attacker can exploit the validation-to-installation window to substitute malicious content or leverage the predictable filename for symlink attacks, resulting in arbitrary sudoers rule injection and local privilege escalation.

Affected products

  • boneIO Black before 1.6.0

Timeline

  • 2026-10-26: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.