In sshd in OpenSSH before 10.0, the DisableForwarding directive does not adhere to the documentation stating that it disables X11 and agent forwarding.
This issue has been addressed in the following products: Red Hat Enterprise Linux 10 Via RHSA-2025:20126 https://access.redhat.com/errata/RHSA-2025:20126