Security advisories
When we fix a security issue we publish an advisory here, credit the reporter (with their consent), and ship the fix - which stays free for the full support period, whether or not your update window is open. Newest first. Both issues below need an account on the same computer; neither can be reached over the network.
- NYX-2026-002 - another account could take over an install set up as root (fixed in 1.0.6)
- NYX-2026-001 - a restore could write into system files (fixed in 1.0.3)
NYX-2026-002: another account could take over an install set up as root
| Published | 2026-11-06 |
|---|---|
| Fixed in | 1.0.6, released 2026-11-06 |
| Affected | 1.0.0 to 1.0.5 |
| Platforms | macOS and Linux. Windows is not affected in practice: setup there runs as the signed-in account, which becomes the owner. |
| Severity | High, local: needs a second account on the computer |
| Credit | Found by Nyx Software while writing the guide for headless servers |
Summary
Nyx Backup lets only the account that owns it on a computer use the
background service. When first-time setup was done as root - for
example with sudo nyx_bkp_tui, the usual way on a server -
root did not become the owner, and an install that has an encryption
key but no owner accepted the first ordinary account that used it as
its owner. Any other account on the computer could therefore make
itself the owner, for example by running nyx_bkp_cli status.
Impact
As the owner, that account could restore any file in root's backups
into its own folder - including files it could not otherwise read, such
as /etc/shadow or /root/.ssh - and could
export the encryption key, which decrypts every backup the install has
made.
Who is affected
A Mac or Linux computer that has more than one account and where Nyx Backup's first-time setup was done as root. An install set up from an ordinary account's desktop was never unowned and is not affected.
What to do
- Update to 1.0.6 or later.
-
Check which account owns Nyx Backup:
sudo grep owner_identity /etc/nyxbackup/config.tomlon Linux, orsudo grep owner_identity "/Library/Application Support/NyxBackup/config.toml"on a Mac.uid=0is root; any other number is the user id of an account (id -un NUMBERshows its name). -
If the owner is not the account you intended, an administrator can
move it with
sudo nyx_bkp_cli set-owner ACCOUNT. -
To see whether this happened before you updated, look in the service
log (
/var/log/nyxbackup/nyx_bkp_service.log) forpinned Nyx Backup owner tonaming an account you did not expect, and forsensitive RPC 'export_master_key'. If you find either, assume that account could read everything in those backups, and write to security@nyxbackup.com if you would like help.
What changed in 1.0.6
Setup done as root makes root the owner. An install with a key but no
owner refuses every ordinary account instead of adopting the first one.
The owner changes only when an administrator runs
nyx_bkp_cli set-owner, and an account that is refused is
told why and what an administrator can run.
NYX-2026-001: a restore could write into system files
| Published | 2026-11-06 |
|---|---|
| Fixed in | 1.0.3, released 2026-10-31 |
| Affected | 1.0.0 to 1.0.2 |
| Platforms | Windows, macOS and Linux |
| Severity | High, local: needs the account that owns Nyx Backup on the computer to be one without administrator rights |
| Credit | Found by Nyx Software during an internal security review |
Summary
The background service restores files with system rights, and before
1.0.3 it did not check carefully enough where a restore wrote. The
account that owns Nyx Backup could choose a destination such as
/ or C:\, place a link where a restored file
would be written, or use .. in a path, and the restore
would then write files into system folders, or hand an existing system
folder over to that account.
Impact
On a computer where an administrator installed Nyx Backup and a
standard account owns it, that account could gain administrator
control of the computer. On a single-user computer, where the owner is
normally an administrator already, there is little to gain. If owner
pinning had been switched off in the configuration
(ipc_owner_pinning = false, meant for shared setups), any
local account could do it.
What to do
Update to 1.0.3 or later. From 1.0.3 every restored file is checked immediately before it is written: nothing is written into system locations or Nyx Backup's own folders, links are not followed out of the destination, an existing file of another account is not replaced, and only folders the restore created are given to the account that asked for it.
Reporting a vulnerability
Email security@nyxbackup.com with the affected version and platform, how to reproduce it, and your view of the impact. See our Security Policy for the disclosure timeline and safe-harbor terms.