# CVE-2022-29154: An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of conne…

- Severity: High 7.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.33%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-02T14:22:52.000Z
- Modified: 2026-06-17T04:39:41.807Z
- Weaknesses: CWE-20
- Assigned by: mitre

## Description

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- samba rsync: before 3.2.5
- fedoraproject fedora: 35; 36

## References

- <http://www.openwall.com/lists/oss-security/2022/08/02/1> (exploit, mailing-list, patch, third-party-advisory)
- <https://github.com/WayneD/rsync/tags> (release-notes, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YRQAI7H4M4RQZ2IWZUEEXECBE5D56BH2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NMBOJ77A7T7PQCARMDUK75TE6LLESZ3O/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-29154](https://www.cve.org/CVERecord?id=CVE-2022-29154), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-29154](https://nvd.nist.gov/vuln/detail/CVE-2022-29154), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-29154 · Whole record: https://cve.day/CVE-2022-29154.json · Rebuilt by cve.day 2026-11-25T22:58:13.361Z
