Description
The handler code for backupninja 0.8 and earlier creates temporary files with predictable filenames, which allows local users to modify arbitrary files via a symlink attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | backupninja | 0.8-2 | — |
| Debian 13 | backupninja | 0.8-2 | — |
| Debian 12 | backupninja | 0.8-2 | — |
| Debian 3.1 | backupninja | 0.5-3sarge1 | DSA-827-1 |
Advisories 1
- DSA-827-1 backupninja - insecure temporary file creation Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-827 vendor-advisory
- 17018 third-party-advisory
- 16995 third-party-advisory
- 14978 vdb-entry
- backupninja-backupninja-script-symlink(22461) vdb-entry