VYPR
Unrated severityNVD Advisory· Published Feb 28, 2022· Updated Aug 3, 2024

CVE-2022-26315

CVE-2022-26315

Description

qrcp through 0.8.4, in receive mode, allows ../ Directory Traversal via the file name specified by the uploader.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

qrcp 0.8.4 and earlier in receive mode allows directory traversal via crafted file name in HTTP request.

## Vulnerability qrcp through version 0.8.4, when operating in receive mode, does not validate the file name provided by the uploader. An attacker can include ../ sequences in the file name, leading to a directory traversal vulnerability [1]. This affects versions up to and including 0.8.4 on all supported platforms (Windows, Linux).

Exploitation

An attacker acting as the uploader can craft an HTTP request with a file name containing path traversal sequences (e.g., ../../malicious.txt). The receiver's qrcp instance will write the file to the traversed path without validation, requiring no authentication or user interaction beyond initiating a receive operation [1].

Impact

Successful exploitation allows the attacker to write files to arbitrary locations outside the intended receive directory on the victim's filesystem. This could lead to overwriting critical system files or placing malicious payloads, potentially resulting in code execution, denial of service, or privilege escalation, depending on the write permissions of the qrcp process [1].

Mitigation

As of the publication date (2022-02-28), no official patch or fixed version has been released for this vulnerability. Users are advised to avoid using qrcp in receive mode with untrusted uploaders, or to manually validate file names before processing. The issue is tracked on GitHub [1].

AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.