Skip to content
AWSGHSA-3jcv-796g-cpjg

Defense in depth enhancement for region parameter value in AWS SDK for Go v2

Low3.7Published Jan 9, 2026

## Summary This notification is related to the use of specific values for the region input field when calling AWS services. An actor with access to the environment in which the SDK is used could set the region input field to an invalid value. A defense-in-depth enhancement has been implemented in the AWS SDK for Go v2. This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 11, 2025. This advisory is informational to help customers understand their responsibilities regarding configuration security. ## Impact Customer applications could be configured to improperly route AWS API calls to non-existent or non-AWS hosts. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Impacted versions: All versions prior to the [November 11, 2025 release](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-11-11) ## Patches On November 11, 2025, an enhancement [1] was made to the AWS SDK for Gov2 release, which validates the formatting of a region, providing additional safeguards...

GitHub advisory

Affected versions

Details and references

## Summary This notification is related to the use of specific values for the region input field when calling AWS services. An actor with access to the environment in which the SDK is used could set the region input field to an invalid value. A defense-in-depth enhancement has been implemented in the AWS SDK for Go v2. This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 11, 2025. This advisory is informational to help customers understand their responsibilities regarding configuration security. ## Impact Customer applications could be configured to improperly route AWS API calls to non-existent or non-AWS hosts. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Impacted versions: All versions prior to the [November 11, 2025 release](https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2025-11-11) ## Patches On November 11, 2025, an enhancement [1] was made to the AWS SDK for Gov2 release, which validates the formatting of a region, providing additional safeguards. ## Workarounds No workarounds are needed, but you should ensure that your application is following security best practices: - Implement proper input validation in your application code - Update to the latest AWS SDK for Go release on a regular basis - Follow AWS security best practices [2] for SDK configuration ## References Contact AWS Security via our vulnerability reporting page or email [aws-security@amazon.com](mailto:aws-security@amazon.com). ## Acknowledgement We thank Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process. [1] https://github.com/aws/aws-sdk-go-v2/pull/3225 [2] https://docs.aws.amazon.com/sdk-for-go/v2/developer-guide/security.html

CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Severity from
GitHub (reviewed advisory)

More AWS advisories

All AWS
Advisory
Defense in depth enhancement for region parameter value in AWS SDK for .NET V4
Low3.7Jan 8
Defense in depth enhancement for region parameter value in AWS SDK for C++
Low3.7Jan 8
Defense in depth enhancement for region parameter value in AWS SDK for JavaScript v3
Low3.7Jan 8
Key Commitment issue in S3 Encryption Client
Medium5.3Dec 17, 2025
Key Commitment issue in S3 Encryption Client
Medium5.3Dec 17, 2025
Key Commitment issue in S3 Encryption Client
Medium5.3Dec 17, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.