{"id":"CVE-2026-54917","published":"2026-06-25T18:41:19Z","modified":"2026-06-25T19:05:31Z","title":"SeaweedFS: Path traversal in the S3 and Iceberg REST gateways allows cross-bucket access","vendor":"seaweedfs","product":"seaweedfs","tier":"tail","description":{"text":"SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the S3 API gateway and the Iceberg REST catalog gateway construct their routers with mux.NewRouter().SkipClean(true). With path cleaning disabled, a .. segment inside the URL survives routing, so a request such as `GET /bucket-A/../evil-bucket/key`, is matched as bucket=bucket-A, object=../evil-bucket/key. The captured object key is then joined into a filer path with util.JoinPath (S3) / path.Join (Iceberg), which collapse the .. server-side, so the actual read or write lands in evil-bucket. This vulnerability is fixed in 4.30.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01641,"percentile":0.7699,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-w62w-66v9-vvgv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/seaweedfs/seaweedfs/pull/9687","tags":["x_refsource_MISC"]}],"priority":{"score":25.9,"factors":[{"name":"EPSS percentile","points":15.4},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-05","earliestUrl":"https://github.com/BiiTts/CVE-2026-54917-SeaweedFS-Cross-Bucket-Traversal","repos":[{"name":"BiiTts/CVE-2026-54917-SeaweedFS-Cross-Bucket-Traversal","url":"https://github.com/BiiTts/CVE-2026-54917-SeaweedFS-Cross-Bucket-Traversal","stars":0,"created":"2026-08-05"}]},"nuclei":[{"id":"CVE-2026-54917","name":"SeaweedFS <= 4.29 - Path Traversal File Write","severity":"high","path":"http/cves/2026/CVE-2026-54917.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-54917.yaml"}],"first":{"date":"2026-08-05","source":"PoC-in-GitHub","url":"https://github.com/BiiTts/CVE-2026-54917-SeaweedFS-Cross-Bucket-Traversal"},"provenance":"source"},"vendorSlug":"seaweedfs","affectedVersions":[{"vendor":"seaweedfs","product":"seaweedfs","versions":["< 4.30"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-25T19:04:26.709044Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/seaweedfs/seaweedfs","vulnerableRanges":["<0.0.0-20260526080459-dd1b4287899e"],"patched":["0.0.0-20260526080459-dd1b4287899e"],"from":["GHSA-w62w-66v9-vvgv","GO-2026-6221"],"provenance":"source"}],"summary":{"text":"SeaweedFS, in its S3 API gateway and Iceberg REST catalog gateway, fails to clean path segments in request URLs, so a crafted path containing \"..\" can be interpreted as a different bucket than the one the caller was routed to. An unauthenticated remote attacker can exploit this over the network by sending a request such as a path with \"..\" traversing into another bucket, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:39:29Z"},"euvd":{"id":"EUVD-2026-39535","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-seaweedfs-cve-2026-54917","children":[{"from":"CVE-2026-54917","to":"CVE-2026-58372","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-w62w-66v9-vvgv","via":"reference","url":"https://github.com/seaweedfs/seaweedfs/security/advisories/GHSA-w62w-66v9-vvgv"},{"kind":"same-code","provenance":"machine","files":["weed/s3api/iceberg/path_validation.go","weed/s3api/s3_constants/header.go","weed/s3api/s3api_path_validation.go"],"commits":["https://github.com/seaweedfs/seaweedfs/commit/dd1b4287899eed3dfd73c2f3b1de001996fda229","https://github.com/seaweedfs/seaweedfs/commit/0345658ea8e7c6a3948ad190634b00866ec244c9"],"basis":"rarely changed file"}]},{"from":"CVE-2026-54917","to":"CVE-2026-55873","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["weed/s3api/iceberg/server.go"],"commits":["https://github.com/seaweedfs/seaweedfs/commit/dd1b4287899eed3dfd73c2f3b1de001996fda229","https://github.com/seaweedfs/seaweedfs/commit/b13463880c1fa62e255c058a9228b63cc95b4b36"],"basis":"rarely changed file"}]}]}}