REDHAT-BUG-2515378: High severity rsync rsync vulnerability

Published Aug 13, 2026
·
Updated

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 RSYNCCONNECTPROG 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.

Affected Software

1 affected component
rsync rsync<3.5.0

Event History

Aug 13, 2026
Data Sourced
via Red Hat·03:50 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What attacker access or input control is needed to exploit these issues?

An attacker needs to supply malicious input to an affected rsync code path. The described inputs include the RSYNC_CONNECT_PROG environment variable, daemon-hook values, rsync-ssl wrapper inputs, and hostnames or hostspecs passed to remote-shell command handling.

2

Under whose privileges would injected commands run?

Commands may execute with the privileges of the rsync process or the user who invoked rsync. The practical impact therefore depends on which account runs the affected rsync client, daemon, wrapper, or hook.

3

Are daemon deployments the only affected use case?

No. The affected code paths include daemon hooks, but also the RSYNC_CONNECT_PROG environment variable, the rsync-ssl wrapper, and remote-shell command handling. Both daemon-related and client-side or wrapper-based rsync use should be reviewed.

4

What configurations should be prioritized if patching cannot happen immediately?

Prioritize systems where untrusted parties can influence rsync hostnames, hostspecs, environment variables, daemon-hook values, or rsync-ssl wrapper inputs. Restrict untrusted access to those inputs and avoid passing externally supplied values into rsync command construction until an updated version is deployed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203