{"id":"CVE-2023-51651","aliases":["CVE-2023-51651","GHSA-557v-xcg6-rm5m","GHSA-73jg-4qh6-3f4g","GO-2026-4390"],"related":["CVE-2025-69820"],"kind":"vulnerability","state":"published","title":"Potential URI resolution path traversal in the AWS SDK for PHP","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"### Impact\nWithin 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.\n\nVersions of the AWS SDK for PHP v3 before 3.288.1 are affected by this issue.\n\n### Patches\nUpgrade to the AWS SDK for PHP >= 3.288.1, if you are on version < 3.288.1.\n\n### References\nRFC 3986 - [https://datatracker.ietf.org/doc/html/rfc3986](https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4)\n\n### For more information\nIf you have any questions or comments about this advisory, please contact [AWS's Security team](mailto:aws-security@amazon.com).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Directory Traversal vulnerability in Beam beta9 v.0.1.552 allows a remote attacker to obtain sensitive information via the joinCleanPath function","format":"markdown","source":"ghsa"},{"lang":"en","text":"Beam Exposes sensitive information via joinCleanPath function in github.com/beam-cloud/beta9","format":"markdown","source":"go"},{"lang":"es","text":"AWS SDK para PHP es el kit de desarrollo de software de Amazon Web Services para PHP. Dentro del alcance de las solicitudes a claves de objeto S3 y/o prefijos que contienen un doble punto Unix, es posible un path traversal URI. El problema existe en el método `buildEndpoint` en el componente RestSerializer del AWS SDK para PHP v3 anterior a 3.288.1. El método `buildEndpoint` se basa en la utilidad Guzzle Psr7 UriResolver, que elimina segmentos de puntos de la ruta de solicitud de acuerdo con RFC 3986. Bajo ciertas condiciones, esto podría conducir a que se acceda a un objeto arbitrario. Este problema se solucionó en la versión 3.288.1.","source":"nvd"}],"published":"2023-12-21T23:16:13.000Z","modified":"2026-06-17T06:41:24.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","score":6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","score":6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.288.1","status":"affected"}],"vendor":"aws","product":"aws-sdk-php","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.288.1"}],"ecosystem":"Packagist","package":"aws/aws-sdk-php","purl":"pkg:composer/aws/aws-sdk-php","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.0.0-20260116162221-c1cd75e813cf"}],"ecosystem":"Go","package":"github.com/beam-cloud/beta9","purl":"pkg:golang/github.com/beam-cloud/beta9","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/beam-cloud/beta9","purl":"pkg:golang/github.com/beam-cloud/beta9","source":"go"},{"ranges":[{"status":"affected","fixed":"3.288.1"}],"vendor":"amazon","product":"aws_software_development_kit","cpe":"cpe:2.3:a:amazon:aws_software_development_kit:*:*:*:*:*:php:*:*","source":"nvd"}],"references":[{"url":"https://github.com/aws/aws-sdk-php/security/advisories/GHSA-557v-xcg6-rm5m","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/aws/aws-sdk-php/commit/aebc9f801438746ac4ade327551576cb75f635f2","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/aws/aws-sdk-php/releases/tag/3.288.1","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51651","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/aws/aws-sdk-php/CVE-2023-51651.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/aws/aws-sdk-php","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69820","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/beam-cloud/beta9","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/beam-cloud/beta9/blob/c1cd75e813cf7d53e916157d920099e89ef45caa/pkg/abstractions/volume/multipart.go#L45","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/ryotaromatsui/CVEs/tree/main/CVE-2025-69820","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-73jg-4qh6-3f4g","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-51651","url":"https://www.cve.org/CVERecord?id=CVE-2023-51651","licence":"CVE Terms of Use","modified":"2024-08-02T22:40:34.231Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-557v-xcg6-rm5m","url":"https://github.com/advisories/GHSA-557v-xcg6-rm5m","licence":"CC-BY-4.0","modified":"2026-02-04T07:36:06.785Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-73jg-4qh6-3f4g","url":"https://github.com/advisories/GHSA-73jg-4qh6-3f4g","licence":"CC-BY-4.0","modified":"2026-02-04T07:36:06.785Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4390","url":"https://pkg.go.dev/vuln/GO-2026-4390","licence":"CC-BY-4.0","modified":"2026-02-04T07:36:06.785Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-51651","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-51651","licence":"Public domain","modified":"2026-06-17T06:41:24.260Z"}],"updatedAt":"2026-11-25T22:58:31.645Z","epss":{"score":0.00376,"percentile":0.33676,"date":"2026-12-01T12:00:22.000Z"}}