Description
Insertion of sensitive information into log files in the git_utils[.]py component in Amazon SageMaker Python SDK V3 before 3.10.0 and V2 before 2.257.3 might allow an authenticated remote user to obtain plaintext repository credentials from CloudWatch Logs when a git clone operation fails, because the runclone_command() function does not redact credentials from subprocess error output.
To remediate this issue, users should upgrade to Amazon SageMaker Python SDK V3 3.10.0 or V2 2.257.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| AWS | SageMaker Python SDK | < 2.257.3, < 3.10.0 | 2.257.3 |
References
- https://pypi.org/project/sagemaker/2.257.3/ release-notes patch
- https://pypi.org/project/sagemaker/3.10.0/ release-notes patch
- https://aws.amazon.com/security/security-bulletins/2026-134-aws/ vendor-advisory
- https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-g6w4-jvgp-68x2 third-party-advisory