# CVE-2026-105840: lrzsz path traversal in lrz restricted mode

Source: https://junglewise.ai/threats/cve-2026-105840-lrzsz-before-0-13-0-contains-a-path-traversal-vulnerability-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-06. Updated: 2026-10-06  
License: CC BY 4.0 with a link back

CVE-2026-105840 · Severity: high · CVSS 7.5 · Published 2026-10-06

lrzsz is a file transfer utility that implements XMODEM, YMODEM, and ZMODEM protocols. A flaw in the restricted mode of the lrz receive utility allows a malicious sender to write files to arbitrary locations on the receiving system by using absolute file paths, potentially overwriting critical files or gaining code execution.

Technologies: [Uwe Ohse Lrzsz](https://junglewise.ai/threats/technologies/lrzsz). Vendors: [Uwe Ohse](https://junglewise.ai/threats/vendors/uwe-ohse).

## Quick answers

**Is CVE-2026-105840 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-105840 being exploited in the wild.

**How severe is CVE-2026-105840?** High severity, with a CVSS score of 7.5, published 6 October 2026.

**Which products and versions are affected?** Uwe Ohse Lrzsz before 0.13.0.

**Is there a fix for CVE-2026-105840?** Yes: fixed in 0.13.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-105840 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-105840?** Check whether you run Uwe Ohse Lrzsz at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 0.13.0

## Technical details

The lrz receive utility's checkpath() function in src/lrz.c only blocks relative path traversal sequences (../) unless compiled with --enable-pubdir, allowing attackers to bypass path restrictions using absolute pathnames or carefully crafted filenames. This affects systems relying on restricted mode as a security boundary, enabling remote file write and overwrite capabilities from a network-based ZMODEM sender.

## Affected products

- Uwe Ohse lrzsz before 0.13.0

## Timeline

- 2026-10-06: disclosed
- 2026-09: patched: Version 0.13.0 released with security fixes

## References

- [https://ohse.de/uwe/software/lrzsz.html](https://ohse.de/uwe/software/lrzsz.html)
- [https://ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html](https://ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html)

## Related threats

- [lrzsz heap buffer overflow in procheader](https://junglewise.ai/threats/cve-2026-105842-lrzsz-before-0-13-0-contains-a-heap-based-buffer-overflow)
- [lrzsz OS command injection in lrz pipe mode](https://junglewise.ai/threats/cve-2026-105841-lrzsz-before-0-13-0-contains-an-os-command-injection)
