# AWS SDK for PHP has CloudFront Policy Document Injection via Special Characters

Source: https://junglewise.ai/threats/aws-sdk-for-php-has-cloudfront-policy-document-injection-via-special-575716bd  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-27  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2026-03-27

AWS SDK for PHP has CloudFront Policy Document Injection via Special Characters

Technologies: [aws/aws-sdk-php (Packagist)](https://junglewise.ai/threats/technologies/aws-aws-sdk-php). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 27 March 2026.

**Which products and versions are affected?** aws/aws-sdk-php (Packagist) ECOSYSTEM:introduced=3.11.7,fixed=3.371.4.

**Is there a fix for This vulnerability?** Yes. aws/aws-sdk-php (Packagist): upgrade to 3.371.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run aws/aws-sdk-php (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- aws/aws-sdk-php (Packagist): upgrade to 3.371.4 or later

  ```sh
  composer require aws/aws-sdk-php:^3.371.4
  ```


## Affected products

- aws/aws-sdk-php (Packagist) ECOSYSTEM:introduced=3.11.7,fixed=3.371.4

## Related threats

- [AWS SDK for PHP's S3 Encryption Client has a Key Commitment Issue](https://junglewise.ai/threats/cve-2025-14761-aws-sdk-for-php-s-s3-encryption-client-has-a-key-commitment-issue)
- [Potential URI resolution path traversal in the AWS SDK for PHP](https://junglewise.ai/threats/cve-2023-51651-beam-exposes-sensitive-information-via-joincleanpath-function)
- [Doctrine Security Misconfiguration Vulnerability](https://junglewise.ai/threats/cve-2015-5723-doctrine-security-misconfiguration-vulnerability)
