Skip to content
Heist/ feed
Back to feed
Medium

rsync < 3.5.0 Path Traversal Write Escape via --relative Mode

Type: advisorySources: OSV

rsync before 3.5.0 contains a path traversal vulnerability that allows a malicious sender to write files outside the intended destination directory tree by crafting relative paths with symlink components in --relative mode. The make_path() function follows symlinks pointing outside the destination tree while creating intermediate directories without verifying that created paths remain within the destination boundary, enabling arbitrary file writes on the receiver's filesystem.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-53785
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 08:45 UTC · Revision 1

Source evidence

rsync < 3.5.0 Path Traversal Write Escape via --relative Mode

core-osv · Original source

Published 13 Aug 2026, 14:34 UTC

rsync before 3.5.0 contains a path traversal vulnerability that allows a malicious sender to write files outside the intended destination directory tree by crafting relative paths with symlink components in --relative mode. The make_path() function follows symlinks pointing outside the destination tree while creating intermediate directories without verifying that created paths remain within the destination boundary, enabling arbitrary file writes on the receiver's filesystem.

osv:CVE-2026-53785
Complete source record
{
  "id": "bac6190f67b1a93bd7ab00e46d68568d321916643e3e1b92d39dd6dcff7f7bd9",
  "url": "https://osv.dev/vulnerability/CVE-2026-53785",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rsync < 3.5.0 Path Traversal Write Escape via --relative Mode",
    "summary": "rsync before 3.5.0 contains a path traversal vulnerability that allows a malicious sender to write files outside the intended destination directory tree by crafting relative paths with symlink components in --relative mode. The make_path() function follows symlinks pointing outside the destination tree while creating intermediate directories without verifying that created paths remain within the destination boundary, enabling arbitrary file writes on the receiver's filesystem.",
    "evidence": "osv:CVE-2026-53785",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-53785",
      "aliases": [
        "CVE-2026-53785",
        "GHSA-pph3-7xmf-rrqg"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rsyncproject/rsync",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "471e17dc0d68233db84db11be82c9f62f4661214"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.4.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "471e17dc0d68233db84db11be82c9f62f4661214"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.5.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.4.3",
            "v3.4",
            "v3.2.7",
            "v3.4.1",
            "v3.4.2",
            "v3.4.0",
            "v3.3.0",
            "v3.3.0pre1",
            "v3.2.7pre1",
            "v3.2.6",
            "v3.2.5",
            "v3.2.5pre2",
            "v3.2.5pre1",
            "v3.2.4",
            "v3.2.4pre4",
            "v3.2.4pre3",
            "v3.2.4pre2",
            "v3.2.4pre1",
            "v3.2.3",
            "v3.2.3pre1",
            "v3.2.2",
            "v3.2.2pre3",
            "v3.2.2pre2",
            "v3.2.2pre1",
            "v3.2.1",
            "v3.2.1pre1",
            "v3.2.0",
            "v3.2.0pre3",
            "v3.2.0pre2",
            "v3.2.0pre1",
            "v3.1.3",
            "v3.1.3pre1",
            "v3.1.2",
            "v3.1.2pre1",
            "v3.1.1",
            "v3.1.1pre2",
            "v3.1.1pre1",
            "v3.1.0",
            "v3.1.0pre1",
            "v3.0.3",
            "v3.0.3pre3",
            "v3.0.3pre2",
            "v3.0.3pre1",
            "v3.0.2",
            "v3.0.1",
            "v3.0.1pre3",
            "v3.0.1pre2",
            "v3.0.1pre1",
            "v3.0.0",
            "v3.0.0pre10",
            "v3.0.0pre9",
            "v3.0.0pre8",
            "v3.0.0pre7",
            "v3.0.0pre6",
            "v3.0.0pre5",
            "v3.0.0pre4",
            "v3.0.0pre3",
            "v3.0.0pre2",
            "v3.0.0pre1",
            "v2.6.9",
            "v2.6.9pre3",
            "v2.6.9pre2",
            "v2.6.9pre1",
            "v2.6.8",
            "v2.6.8pre1",
            "v2.6.7",
            "v2.6.7pre3",
            "v2.6.7pre2",
            "v2.6.7pre1",
            "v2.6.6pre1",
            "v2.6.5",
            "v2.6.5pre2",
            "v2.6.5pre1",
            "v2.6.4",
            "v2.6.4pre4",
            "v2.6.4pre3",
            "v2.6.4pre2",
            "v2.6.4pre1",
            "v2.6.3",
            "v2.6.3pre2",
            "v2.6.3pre1",
            "v2.6.2",
            "v2.6.2pre1",
            "v2.6.1",
            "v2.6.1pre2",
            "v2.6.1pre1",
            "v2.6.0",
            "v2.6.0pre2",
            "v2.6.0pre1",
            "v2.5.6",
            "v2.5.5",
            "v2.5.5.rc1",
            "v2.5.4",
            "v2.5.4pre1",
            "v2.5.3",
            "v2.5.3pre1",
            "v2.5.2",
            "v2.5.2pre3",
            "v2.5.2pre2",
            "v2.5.2pre1",
            "v2.5.1",
            "v2.5.1pre3",
            "v2.5.1pre2",
            "v2.5.1pre1",
            "v2.5.0",
            "v2.4.7pre4",
            "v2.4.7pre2",
            "mbp_bk_export0",
            "v2.4.6",
            "v2.4.5",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.1",
            "v2.2.0",
            "v2.1.1",
            "v2.1.0",
            "v2.0.19",
            "v2.0.18",
            "v2.0.17",
            "v2.0.16",
            "v2.0.15",
            "v2.0.14",
            "v2.0.13",
            "v2.0.12",
            "v2.0.11",
            "v2.0.10",
            "v2.0.9",
            "v2.0.8",
            "v2.0.7",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.9",
            "v1.6.8",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53785.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.195276866Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53785.json",
        "https://github.com/RsyncProject/rsync/releases/tag/v3.5.0",
        "https://github.com/RsyncProject/rsync/security/advisories/GHSA-pph3-7xmf-rrqg",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-53785",
        "https://www.vulncheck.com/advisories/rsync-path-traversal-write-escape-via-relative-mode",
        "https://github.com/RsyncProject/rsync"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-59"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53785.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-53785",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493957,
  "published_at": "2026-08-13T14:34:59.757+00:00"
}