A path traversal vulnerability exists in rsync. It stems from behavior enabled by the --inc-recursive option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the --inc-recursive option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.
{
"sources": [
{
"published": "2025-01-14T18:15:25.467Z",
"imported": "2025-11-25T22:38:07.421Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-12087",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-12087",
"id": "CVE-2024-12087",
"modified": "2025-11-03T22:16:39.313Z"
}
],
"license": "CC-BY-4.0"
}