CVE-2026-105840: lrzsz before 0.13.0 Path Traversal via lrz Restricted Mode checkpath()

Published Oct 6, 2026
·
Updated

lrzsz before 0.13.0 contains a path traversal vulnerability in the lrz receive utility's restricted mode that allows malicious ZMODEM senders to write files outside the current directory using absolute pathnames. Because checkpath() in src/lrz.c only rejects '../' sequences unless built with --enable-pubdir, attackers can send files named with absolute paths to overwrite any file writable by the receiving user.

Affected Software

1 affected component
Lrzsz lrzsz<0.13.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade lrzsz to a version that resolves this vulnerability.

    Fixed in 0.13.0

Event History

Oct 6, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users running the lrz receive utility in restricted mode are exposed when they receive ZMODEM files from a malicious sender. The sender does not need prior privileges, but must be able to initiate or participate in a ZMODEM transfer and induce the user to receive the file.

2

What can an attacker do?

A malicious sender can use an absolute pathname as the received filename to write outside the current directory. This can overwrite files that are writable by the user running lrz.

3

Are all restricted-mode builds affected?

The described checkpath() behavior affects versions before 0.13.0 unless lrzsz was built with --enable-pubdir. In the affected build behavior, checkpath() rejects '../' sequences but does not reject absolute pathnames.

4

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

Do not receive ZMODEM transfers from untrusted senders, especially while lrz is running under an account that can write to sensitive files. Restrict the receiving account's filesystem permissions to limit the impact of arbitrary file writes.

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