Skip to content

regression: symbolic links out of module not allowed #944

Description

@rrotter

The mitigation for CVE-2026-43619 in 3.4.3 seems to assume that all symlinks pointing out of a module are malicious. Relative symbolic links pointing out of a module previously worked with "use chroot = no". Now, when I try to follow these links rsync fails with the error: failed: Invalid cross-device link.

It appears that this was intentionally supported, per rsyncd.conf(5):

use chroot […] has the disadvantage[…] of not being able to follow symbolic links that are either absolute or outside of the new root path

Since I'm running rsync as root I was able to work around this by setting "use chroot = yes" and adding the "/./" chroot divider. Still, the old documented behavior should either be restored, or the documentation updated to clarify that "use chroot = no" now bars such symlinks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions