CVE-2026-141553: termux-sync: Restore extracts archive members outside the backed-up directory because the extraction jail is the parent of each backup root

Published Dec 2, 2026
·
Updated

termux-sync is an open source tool for backing up and restoring a Termux environment across devices. Prior to 1.3.8, termux-sync checks restored archive members against the parent of each backed-up directory instead of the directory itself. An attacker who controls a backup that a user restores can write files to other locations under the Termux installation prefix, including replacing executables. This can result in arbitrary code execution with the privileges of the Termux user when a replaced executable is run. This issue is fixed in version 1.3.8.

Affected Software

1 affected component
Termux termux-sync<1.3.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.3.8

Event History

Dec 2, 2026
CVE Published
via MITRE·07:51 PM
Data Sourced
via MITRE·07:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:20 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations should be prioritized for remediation?

Termux environments using termux-sync versions earlier than 1.3.8 are affected when they restore a backup controlled by an attacker. The issue can modify files elsewhere under the Termux installation prefix.

2

What does an attacker need to exploit this issue?

An attacker must control a backup archive that the user restores. Exploitation also requires the user to perform the restore and later run an executable that was replaced through the archive.

3

What is the impact if exploitation succeeds?

An attacker can replace executables under the Termux installation prefix. Running a replaced executable can lead to arbitrary code execution with the privileges of the Termux user.

4

What should be done if an immediate upgrade is not possible?

Do not restore backups that are controlled by or obtained from an untrusted party. Upgrade termux-sync to version 1.3.8, which fixes the issue, as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203