All vulnerabilities

PyPI

CVE-2026-77059

TOCTOU Race Condition in boneIO

Severity
High 8.8
Published
26 Oct 2026
Last changed
26 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.6.0
Exploit chance
0.1% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Time-of-check time-of-use race condition (CWE-367)
Attack
Needs local access · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
boneioPyPI · osv:PyPI:boneio
  • From 1.3.0 before 1.6.0

About boneio

Weekly downloads (PyPI)
156PyPI Stats, 24 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-77059