CVE-2023-51651 json
Potential URI resolution path traversal in the AWS SDK for PHP
published 2023-12-21 2 y ago modified 2026-06-17 4 mo ago also CVE-2025-69820 , GHSA-557v-xcg6-rm5m , GHSA-73jg-4qh6-3f4g , GO-2026-4390 , EUVD-2023-3109
- cvss
- 6.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist aws/aws-sdk-php 3.288.1
- amazon aws_software_development_kit 3.288.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-51651 updated cvss 6.0
aws-sdk-php: URI path traversal
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.0 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 6.0 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/beam-cloud/beta9 | <=0.0.0-20260116162221-c1cd75e813cf all versions |
no fix listed |
| packagist | aws/aws-sdk-php | <3.288.1 |
3.288.1 |
Affected products
- aws aws-sdk-php
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2
web, patch
-
github.com
/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m
web, third-party-advisory
-
github.com
/aws/aws-sdk-php/releases/tag/3.288.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-69820
advisory
-
github.com
/beam-cloud/beta9
package
-
github.com
/beam-cloud/beta9/blob/c1cd75e813cf7d53e916157d920099e89ef45caa/pkg/abstractions/volume/multipart.go#L45
web
-
github.com
/ryotaromatsui/CVEs/tree/main/CVE-2025-69820
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-51651
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2023-51651.yaml
web
-
github.com
/aws/aws-sdk-php
package
-
github.com
/advisories/GHSA-73jg-4qh6-3f4g
advisory
Sources
- CVE List CVE-2023-51651
- GitHub Advisory GHSA-73jg-4qh6-3f4g
- GitHub Advisory GHSA-557v-xcg6-rm5m
- NVD CVE-2023-51651
- OSV GO-2026-4390
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.