CVE-2026-77059 PUBLISHED

TOCTOU Race Condition in boneIO

Assigner: CERT-PL
Reserved: 20.08.2026 Published: 26.10.2026 Updated: 26.10.2026

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.

Metrics

CVSS 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
CVSS Score: 8.8

Product Status

Vendor boneIO
Product boneIO
Versions Default: unaffected
  • affected from 1.3.0 to 1.6.0 (excl.)

Credits

  • Mateusz Włodarczak (s3ga) finder

References

Problem Types

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition CWE