Skip to content
Heist/ feed
Back to feed
Critical

rsync < 3.5.0 Command Injection via Multiple Code Paths

Type: advisorySources: OSV

rsync before 3.5.0 contains multiple command and argument injection vulnerabilities that allow attackers to execute arbitrary commands by supplying malicious input through several code paths, including the RSYNC_CONNECT_PROG environment variable, daemon hooks, the rsync-ssl wrapper, and remote-shell command newline injection. Attackers can inject shell metacharacters or newline characters into unsanitized user-supplied values such as hostnames and hostspecs to execute arbitrary commands under the privileges of the rsync process or the invoking user.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-53790
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:07 UTC · Revision 1

Source evidence

rsync < 3.5.0 Command Injection via Multiple Code Paths

core-osv · Original source

Published 13 Aug 2026, 14:37 UTC

rsync before 3.5.0 contains multiple command and argument injection vulnerabilities that allow attackers to execute arbitrary commands by supplying malicious input through several code paths, including the RSYNC_CONNECT_PROG environment variable, daemon hooks, the rsync-ssl wrapper, and remote-shell command newline injection. Attackers can inject shell metacharacters or newline characters into unsanitized user-supplied values such as hostnames and hostspecs to execute arbitrary commands under the privileges of the rsync process or the invoking user.

osv:CVE-2026-53790
Complete source record
{
  "id": "f46e0953f49d89ba31fbe3c1a4bd720565e0b1411fb53eaadc8ceb950ed5038a",
  "url": "https://osv.dev/vulnerability/CVE-2026-53790",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rsync < 3.5.0 Command Injection via Multiple Code Paths",
    "summary": "rsync before 3.5.0 contains multiple command and argument injection vulnerabilities that allow attackers to execute arbitrary commands by supplying malicious input through several code paths, including the RSYNC_CONNECT_PROG environment variable, daemon hooks, the rsync-ssl wrapper, and remote-shell command newline injection. Attackers can inject shell metacharacters or newline characters into unsanitized user-supplied values such as hostnames and hostspecs to execute arbitrary commands under the privileges of the rsync process or the invoking user.",
    "evidence": "osv:CVE-2026-53790",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-53790",
      "aliases": [
        "CVE-2026-53790",
        "GHSA-5hcf-7xxm-rmqq"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/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-53790.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.094435170Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53790.json",
        "https://github.com/RsyncProject/rsync/releases/tag/v3.5.0",
        "https://github.com/RsyncProject/rsync/security/advisories/GHSA-5hcf-7xxm-rmqq",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-53790",
        "https://www.vulncheck.com/advisories/rsync-command-injection-via-multiple-code-paths",
        "https://github.com/RsyncProject/rsync"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78",
          "CWE-88"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53790.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-53790",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500232,
  "published_at": "2026-08-13T14:37:41.052+00:00"
}