CVE-2023-51651
Potential URI resolution path traversal in the AWS SDK for PHP
Also known as CVE-2025-69820, GHSA-557v-xcg6-rm5m, GHSA-73jg-4qh6-3f4g, GO-2026-4390
Mitigation
- Upgrade aws/aws-sdk-php to 3.288.1 or later.
Who should check
- Projects that depend on Packagist package aws/aws-sdk-php (< 3.288.1)
- Projects that depend on Go package github.com/beam-cloud/beta9 (<= 0.0.0-20260116162221-c1cd75e813cf)
- Anyone running aws-sdk-php >= 3.0.0, < 3.288.1
Vulnerability facts
- Affected
- aws/aws-sdk-php < 3.288.1; github.com/beam-cloud/beta9 <= 0.0.0-20260116162221-c1cd75e813cf
- Fixed in
- 3.288.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
- CWE
- CWE-22
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist aws/aws-sdk-php | < 3.288.1 | 3.288.1 | osv |
| Go github.com/beam-cloud/beta9 | <= 0.0.0-20260116162221-c1cd75e813cf | — | osv |
| aws-sdk-php | >= 3.0.0, < 3.288.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-51651. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-51651.md Affected: aws/aws-sdk-php < 3.288.1; github.com/beam-cloud/beta9 <= 0.0.0-20260116162221-c1cd75e813cf Fixed in: 3.288.1 Steps: 1. Search this machine and project for aws/aws-sdk-php (Packagist), github.com/beam-cloud/beta9 (Go), aws-sdk-php: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://github.com/aws/aws-sdk-php/releases/tag/3.288.1
- https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2023-51651.yaml
- https://github.com/aws/aws-sdk-php
- https://github.com/beam-cloud/beta9
- https://github.com/beam-cloud/beta9/blob/c1cd75e813cf7d53e916157d920099e89ef45caa/pkg/abstractions/volume/multipart.go#L45
- https://github.com/ryotaromatsui/CVEs/tree/main/CVE-2025-69820
FAQ
Is CVE-2023-51651 being exploited?
There is no confirmed exploitation: CVE-2023-51651 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-51651?
Medium: CVSS 6.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-51651?
aws/aws-sdk-php < 3.288.1; github.com/beam-cloud/beta9 <= 0.0.0-20260116162221-c1cd75e813cf.
Is there a fix for CVE-2023-51651?
Yes. Fixed in 3.288.1. Upgrade aws/aws-sdk-php to 3.288.1 or later.
How do I check if I'm affected by CVE-2023-51651?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.