Advisory Database
  • Advisories
  • Dependency Scanning
  1. swift
  2. ›
  3. github.com/awslabs/aws-sdk-swift
  4. ›
  5. GHSA-pc9j-5v36-2mww

GHSA-pc9j-5v36-2mww: AWS SDK for Swift adopted defense in depth enhancement for region parameter value

January 8, 2026

CVSSv3.1 Rating: 3.7 (LOW)

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 Swift. This enhancement validates that a region used to construct an endpoint URL is a valid host label. The change was released on November 6, 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 2025-11-06 release (below 1.5.79)

Patches On November 6, 2025 an enhancement was made to the AWS SDK for Swift release, which validates the formatting of a region, providing additional safeguards.

Workarounds No workarounds are needed, but as always 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 Swift release on a regular basis
  • Follow AWS security best practices [1] for SDK configuration

References Contact AWS Security via the vulnerability reporting page or email aws-security@amazon.com.

Acknowledgement AWS SDK thanks Guy Arazi for bringing these customer security considerations to our attention through the coordinated disclosure process.

[1] https://docs.aws.amazon.com/sdk-for-swift/latest/developer-guide/security.html

References

  • github.com/advisories/GHSA-pc9j-5v36-2mww
  • github.com/awslabs/aws-sdk-swift
  • github.com/awslabs/aws-sdk-swift/security/advisories/GHSA-pc9j-5v36-2mww

Detect and mitigate GHSA-pc9j-5v36-2mww with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.79

Fixed versions

  • 1.5.79

Solution

Upgrade to version 1.5.79 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

swift/github.com/awslabs/aws-sdk-swift/GHSA-pc9j-5v36-2mww.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:51 +0000.