CVE-2023-51651
PHP vulnerability analysis and mitigation

Overview

AWS SDK for PHP, prior to version 3.288.1, contains a URI path traversal vulnerability (CVE-2023-51651) discovered in December 2023. The vulnerability exists in the buildEndpoint method within the RestSerializer component, which incorrectly handles requests to S3 object keys and/or prefixes containing Unix double-dot segments (GitHub Advisory).

Technical details

The vulnerability stems from the buildEndpoint method's reliance on the Guzzle Psr7 UriResolver utility, which strips dot segments from the request path in accordance with RFC 3986. This behavior, combined with certain conditions, could lead to unauthorized access to arbitrary objects. The issue has been assigned a CVSS v3.1 score of 6.0 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N, indicating local access requirements but potential for high impact on confidentiality and integrity (GitHub Advisory).

Impact

The vulnerability could allow attackers to access arbitrary objects through path traversal techniques when handling S3 object keys or prefixes containing double-dot segments. This could potentially lead to unauthorized access to sensitive data and compromise of data integrity (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in AWS SDK for PHP version 3.288.1. Users are strongly advised to upgrade to version 3.288.1 or later to address this security issue (AWS Release, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21857HIGH8.3
  • PHPPHP
  • redaxo/source
NoYesJan 07, 2026
CVE-2025-61676MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2025-61674MEDIUM6.1
  • PHPPHP
  • october/system
NoYesJan 10, 2026
CVE-2026-21896MEDIUM5.8
  • PHPPHP
  • getkirby/cms
NoYesJan 08, 2026
CVE-2026-22242MEDIUM4.9
  • PHPPHP
  • coreshop/core-shop
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management