CVE-2023-51651 in Amazon Aws Software Development Kit
AWS SDK for PHP is the Amazon Web Services software development kit for PHP. Within the scope of requests to S3 object keys and/or prefixes containing a Unix double-dot, a URI path traversal is possible. The issue exists in the `buildEndpoint` method in the RestSerializer component of the AWS SDK for PHP v3 prior to...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Amazon | Aws Software Development Kit | < 3.288.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
AWS SDK for PHP is the Amazon Web Services software development kit for PHP. Within the scope of requests to S3 object keys and/or prefixes containing a Unix double-dot, a URI path traversal is possible. The issue exists in the `buildEndpoint` method in the RestSerializer component of the AWS SDK for PHP v3 prior to 3.288.1. The `buildEndpoint` method relies on the Guzzle Psr7 UriResolver utility, which strips dot segments from the request path in accordance with RFC 3986. Under certain conditions, this could lead to an arbitrary object being accessed. This issue has been patched in version 3.288.1.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-51651 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-174744-L |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Published | 2023-12-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A URI path traversal vulnerability exists in the AWS SDK for PHP v3 prior to 3.288.1, affecting the RestSerializer component. This issue is due to the `buildEndpoint` method's reliance on the Guzzle Psr7 UriResolver utility, which can be exploited through requests to S3 object keys or prefixes containing a Unix double-dot.
An attacker can exploit this vulnerability by crafting requests to S3 object keys or prefixes that include a Unix double-dot (..). This can lead to unauthorized access to files and directories outside the intended scope, potentially compromising sensitive data.
Questions
What is CVE-2023-51651?
A URI path traversal vulnerability exists in the AWS SDK for PHP v3 prior to 3.288.1, affecting the RestSerializer component. This issue is due to the `buildEndpoint` method's reliance on the Guzzle Psr7 UriResolver utility, which can be exploited through requests to S3 object keys or prefixes containing a Unix double-dot.
What is the CVSS score for CVE-2023-51651?
CVE-2023-51651 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.4%.
Is CVE-2023-51651 actively exploited?
No confirmed active exploitation of CVE-2023-51651 as of 2026-09-25.
How do I remediate CVE-2023-51651?
Priority: HIGH.
What systems are affected by CVE-2023-51651?
CVE-2023-51651 affects Amazon Aws Software Development Kit.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Amazon","product":"Aws Software Development Kit","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.