Description
Tenshi 0.15 creates a tenshi.pid file after dropping privileges to a non-root account, which might allow local users to kill arbitrary processes by leveraging access to this non-root account for tenshi.pid modification before a root script executes a "kill `cat /pathname/tenshi.pid`" command.
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 13 | tenshi | 0.13-2.1 | — |
| Debian 12 | tenshi | 0.13-2.1 | — |
| Debian 7 | tenshi | 0.13-2+deb7u1 | DLA-1069-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | tenshi | 0.13-2+deb7u1~build0.16.04.1 | — |
| Ubuntu 14.04 LTS | tenshi | 0.13-2+deb7u1~build0.14.04.1 | — |
Advisories 1
- DLA-1069-1 tenshi - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- GLSA-201804-18 vendor-advisory
- https://github.com/inversepath/tenshi/issues/6