GHSA-27qh-8cxx-2cr5
AWS SDK for PHP has CloudFront Policy Document Injection via Special Characters
GHSA-27qh-8cxx-2cr5 is a high vulnerability (CVSS 7.7) in aws/aws-sdk-php, published March 27, 2026. No source lists public exploit code. Fixed in aws/aws-sdk-php 3.371.4.
- Severity
- 7.7 HighCVSS 4.0, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
3.371.4aws/aws-sdk-php +2 more
Description
Summary
This notification is related to the CloudFront signing utilities in the AWS SDK for PHP, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been implemented to improve handling of special characters, such as double quotes and backslashes, in input values.
Impact
The CloudFront signing utilities build policy documents that define access restrictions for signed URLs and cookies. If an application passes unsanitized input containing special characters to these utilities, the resulting policy document may not reflect the application's intended access restrictions. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted.
Impacted versions: 3.11.7 - 3.371.3
Patches
On 3/3/2026, an enhancement was made to the AWS SDK for PHP version 3.371.4. The enhancement ensures that special characters in input values are correctly handled. It is recommended to upgrade to the latest version.
Workarounds
No workarounds are needed, but customers should ensure that the application is following security best practices:
- Implement proper input validation in application code before passing values to CloudFront signing utilities
- Update to the latest AWS SDK release on a regular basis
- Follow AWS security best practices for SDK configuration
References
For any questions or comments about this advisory, it is recommended to contact AWS Security via the vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
Acknowledgement
The Amazon Inspector Security Research team is thanked for identifying this issue and working through the coordinated process.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
aws/aws-sdk-phpPackagist | 3.11.7 to 3.371.3 | 3.371.4 |
aws/aws-sdk-phpTuxCare:Packagist | 3.263.4 up to 3.263.4-p2+tuxcare, plus listed versions 3.263.4-p1+tuxcare | 3.263.4-p2+tuxcare |
aws/aws-sdk-phpPackagist | 3.11.7 up to 3.371.4, plus listed versions 3.100.03.100.13.100.23.100.33.100.4 Show 45 moreShow less3.100.53.100.63.100.73.100.83.100.93.101.03.101.13.102.03.102.13.103.03.103.13.103.23.104.03.104.13.105.03.106.03.106.13.107.03.107.13.107.23.107.33.107.43.107.53.107.63.107.73.107.83.108.03.108.13.108.23.108.33.108.43.108.53.108.63.109.03.109.13.109.23.109.33.109.43.109.53.109.63.109.73.109.83.110.03.110.13.110.10 | 3.371.4 |
What each source reports
GitHub Advisories Score used 7.7
AWS SDK for PHP has CloudFront Policy Document Injection via Special Characters
Summary
This notification is related to the CloudFront signing utilities in the AWS SDK for PHP, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been implemented to improve handling of special characters, such as double quotes and backslashes, in input values.
Impact
The CloudFront signing utilities build policy documents that define access restrictions for signed URLs and cookies. If an application passes unsanitized input containing special characters to these utilities, the resulting policy document may not reflect the application's intended access restrictions. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted.
Impacted versions: 3.11.7 - 3.371.3
Patches
On 3/3/2026, an enhancement was made to the AWS SDK for PHP version 3.371.4. The enhancement ensures that special characters in input values are correctly handled. It is recommended to upgrade to the latest version.
Workarounds
No workarounds are needed, but customers should ensure that the application is following security best practices:
- Implement proper input validation in application code before passing values to CloudFront signing utilities
- Update to the latest AWS SDK release on a regular basis
- Follow AWS security best practices for SDK configuration
References
For any questions or comments about this advisory, it is recommended to contact AWS Security via the vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
Acknowledgement
The Amazon Inspector Security Research team is thanked for identifying this issue and working through the coordinated process.
- Record
GHSA-27qh-8cxx-2cr5- CVSS 4.0
- 7.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N - Weakness
- CWE-20, CWE-74, CWE-150
- Updated
- 2026-11-02
OSV 7.7
AWS SDK for PHP has CloudFront Policy Document Injection via Special Characters
Summary
This notification is related to the CloudFront signing utilities in the AWS SDK for PHP, which are used to generate Amazon CloudFront signed URLs and signed cookies. A defense-in-depth enhancement has been implemented to improve handling of special characters, such as double quotes and backslashes, in input values.
Impact
The CloudFront signing utilities build policy documents that define access restrictions for signed URLs and cookies. If an application passes unsanitized input containing special characters to these utilities, the resulting policy document may not reflect the application's intended access restrictions. While the SDK was functioning safely within the requirements of the shared responsibility model, additional safeguards have been added to support secure customer implementations. Applications that already follow AWS security best practices for input validation are not impacted.
Impacted versions: 3.11.7 - 3.371.3
Patches
On 3/3/2026, an enhancement was made to the AWS SDK for PHP version 3.371.4. The enhancement ensures that special characters in input values are correctly handled. It is recommended to upgrade to the latest version.
Workarounds
No workarounds are needed, but customers should ensure that the application is following security best practices:
- Implement proper input validation in application code before passing values to CloudFront signing utilities
- Update to the latest AWS SDK release on a regular basis
- Follow AWS security best practices for SDK configuration
References
For any questions or comments about this advisory, it is recommended to contact AWS Security via the vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
Acknowledgement
The Amazon Inspector Security Research team is thanked for identifying this issue and working through the coordinated process.
- Record
GHSA-27qh-8cxx-2cr5- CVSS 4.0
- 7.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:N/SA:N - Weakness
- CWE-150, CWE-20, CWE-74
- Updated
- 2026-11-02
OSVCLSA-2026-1780447841No score
TuxCare security update for aws/aws-sdk-php (1 CVE)
TuxCare rebuilt aws/aws-sdk-php to address 1 CVE. Fixed in 3.263.4-p2+tuxcare.
- Record
CLSA-2026-1780447841- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
Left out here: 2,181 versions. The JSON record has them.