{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.4.4"
              },
              {
                "fixed": "3.5.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "471e17dc0d68233db84db11be82c9f62f4661214"
            }
          ],
          "repo": "https://github.com/rsyncproject/rsync",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-w75h-ccff-w53m"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-367",
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53796.json"
  },
  "details": "rsync before 3.5.0 contains a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the non-daemon receiver's destination directory handling that allows an attacker who can manipulate destination path parent components to redirect file writes to unintended locations. Attackers can substitute a symlink for a component of the destination path between the path resolution and chdir() call, causing the receiver's working directory to be established outside the intended destination tree so that subsequent relative-path file writes land in unintended filesystem locations.",
  "id": "CVE-2026-53796",
  "modified": "2026-08-17T03:36:20.731198414Z",
  "published": "2026-08-13T14:39:46.882Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53796.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/RsyncProject/rsync/releases/tag/v3.5.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/RsyncProject/rsync/security/advisories/GHSA-w75h-ccff-w53m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-53796"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/rsync-toctou-race-condition-via-destination-directory-handling"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/RsyncProject/rsync"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "rsync \u003c 3.5.0 TOCTOU Race Condition via Destination Directory Handling"
}