CVE catalog

CVE-2020-10174

timeshift: CVE-2020-10174

[CVE catalog]

Severity
High · CVSS 7CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.28% · Oct 27, 2026

init_tmp in TeeJee.FileSystem.vala in Timeshift before 20.03 unsafely reuses a preexisting temporary directory in the predictable location /tmp/timeshift. It follows symlinks in this location or uses directories owned by unprivileged users. Because Timeshift also executes scripts under this location, an attacker can attempt to win a race condition to replace scripts created by Timeshift with attacker-controlled scripts. Upon success, an attacker-controlled script is executed with full root privileges. This logic is practically always triggered when Timeshift runs regardless of the command-line arguments used.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantimeshiftsid25.12.4-1fixed
Debiantimeshiftforky25.12.4-1fixed
Debiantimeshifttrixie24.06.6-2fixed
Debiantimeshiftbookworm22.11.2-1+deb12u1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantimeshiftsourcesid20.03+ds-1not yet assignedNot reported[953385]
Debiantimeshiftsourceforky20.03+ds-1not yet assignedNot reported[953385]
Debiantimeshiftsourcetrixie20.03+ds-1not yet assignedNot reported[953385]
Debiantimeshiftsourcebookworm20.03+ds-1not yet assignedNot reported[953385]

[Debian bug #953385]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [timeshift]Fixed
    Details (2)
    • 22.11.2-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 20.03+ds-1

      dsa · timeshift · debian · bookworm; dsa · timeshift · debian · 12

    • 22.11.2-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 20.03+ds-1

      dsa · timeshift · debian · bookworm; dsa · timeshift · debian · 12

[Debian 13 (Trixie)]

  • [timeshift]Fixed
    Details (2)
    • 24.06.6-2 · amd64 · trixie

      Fixed · Fixed: 20.03+ds-1

      dsa · timeshift · debian · 13

    • 24.06.6-2 · arm64 · trixie

      Fixed · Fixed: 20.03+ds-1

      dsa · timeshift · debian · 13

Observed:

References