# CVE-2023-51651: Potential URI resolution path traversal in the AWS SDK for PHP

- Severity: Medium 6.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2023-12-21T23:16:13.000Z
- Modified: 2026-06-17T06:41:24.260Z
- Also known as: GHSA-557v-xcg6-rm5m, GHSA-73jg-4qh6-3f4g, GO-2026-4390
- Related: CVE-2025-69820
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- aws aws-sdk-php: >= 3.0.0, < 3.288.1
- aws/aws-sdk-php (Packagist): before 3.288.1
- github.com/beam-cloud/beta9 (Go): up to 0.0.0-20260116162221-c1cd75e813cf; all versions
- amazon aws_software_development_kit: before 3.288.1

## Every score

- GitHub_M: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m> (third-party-advisory, web)
- <https://github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2> (patch, web)
- <https://github.com/aws/aws-sdk-php/releases/tag/3.288.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51651> (advisory)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2023-51651.yaml> (web)
- <https://github.com/aws/aws-sdk-php> (package)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-69820> (advisory)
- <https://github.com/beam-cloud/beta9> (package)
- <https://github.com/beam-cloud/beta9/blob/c1cd75e813cf7d53e916157d920099e89ef45caa/pkg/abstractions/volume/multipart.go#L45> (web)
- <https://github.com/ryotaromatsui/CVEs/tree/main/CVE-2025-69820> (web)
- <https://github.com/advisories/GHSA-73jg-4qh6-3f4g> (advisory)

## Sources

- CVE List: [CVE-2023-51651](https://www.cve.org/CVERecord?id=CVE-2023-51651), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-557v-xcg6-rm5m](https://github.com/advisories/GHSA-557v-xcg6-rm5m), CC-BY-4.0, modified 2026-02-04
- GitHub Advisory Database: [GHSA-73jg-4qh6-3f4g](https://github.com/advisories/GHSA-73jg-4qh6-3f4g), CC-BY-4.0, modified 2026-02-04
- Go Vulnerability Database: [GO-2026-4390](https://pkg.go.dev/vuln/GO-2026-4390), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-51651](https://nvd.nist.gov/vuln/detail/CVE-2023-51651), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-51651 · Whole record: https://cve.day/CVE-2023-51651.json · Rebuilt by cve.day 2026-11-25T22:58:31.645Z
