If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.
This is fixed in Go versions 1.25.0: https://github.com/golang/go/commit/ebee011a54f9310099d02a7e7731330539db16cf ... and 1.24.6: https://github.com/golang/go/commit/0f5133b742bf61cda6c98b4cd1d313a330f13f32
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:21856 https://access.redhat.com/errata/RHSA-2025:21856
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.6 Extended Update Support Via RHSA-2025:22004 https://access.redhat.com/errata/RHSA-2025:22004
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2025:22005 https://access.redhat.com/errata/RHSA-2025:22005
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2025:22181 https://access.redhat.com/errata/RHSA-2025:22181
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2025:22668 https://access.redhat.com/errata/RHSA-2025:22668
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Via RHSA-2025:22899 https://access.redhat.com/errata/RHSA-2025:22899
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Advanced Update Support Via RHSA-2025:23740 https://access.redhat.com/errata/RHSA-2025:23740
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Red Hat Enterprise Linux 8.6 Telecommunications Update Service Via RHSA-2025:23733 https://access.redhat.com/errata/RHSA-2025:23733
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Via RHSA-2025:23741 https://access.redhat.com/errata/RHSA-2025:23741
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Red Hat Enterprise Linux 8.8 Telecommunications Update Service Via RHSA-2025:23737 https://access.redhat.com/errata/RHSA-2025:23737
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions Via RHSA-2025:23833 https://access.redhat.com/errata/RHSA-2025:23833
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.4 Extended Update Support Via RHSA-2025:23834 https://access.redhat.com/errata/RHSA-2025:23834
This issue has been addressed in the following products: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Via RHSA-2025:23851 https://access.redhat.com/errata/RHSA-2025:23851