Path Traversal in github.com/seaweedfs/seaweedfs
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-54917 has been found in github.com/seaweedfs/seaweedfs.
Attackers can target a specific entry point like GET /bucket-A/../evil-bucket/key over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 10.0/10.
What to do: upgrade github.com/seaweedfs/seaweedfs to 0.0.0-20260526080459-dd1b4287899e or later.
If unsure, ask your IT team or search "github.com/seaweedfs/seaweedfs CVE-2026-54917" on the vendor's site.
CVE-2026-54917 (github.com/seaweedfs/seaweedfs) — CWE-22 / CVSS v3 10.0
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: GET /bucket-A/../evil-bucket/key / GET /bucket-A/../evil-bucket/secret.txt / GET /bucket-A/ / util.JoinPath
Patched: 0.0.0-20260526080459-dd1b4287899e — apply immediately
Workaround: For deployments that cannot upgrade immediately, place a reverse proxy in front of the gateway that normalizes the request path and rejects requests whose path contains .., %2e%2e, or backslash sequences.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Path traversal (CWE-22) exists in github.com/seaweedfs/seaweedfs. Attackers reach the vulnerable code path via GET /bucket-A/../evil-bucket/key without authentication.
Check the vendor advisory for the affected versions of github.com/seaweedfs/seaweedfs. Attack surface: GET /bucket-A/../evil-bucket/key / GET /bucket-A/../evil-bucket/secret.txt / GET /bucket-A/ / util.JoinPath.
Severity: Critical (CVSS 10.0/10). Confidential information can be exposed externally.
Update to 0.0.0-20260526080459-dd1b4287899e.
Workaround: For deployments that cannot upgrade immediately, place a reverse proxy in front of the gateway that normalizes the request path and rejects requests whose path contains .., %2e%2e, or backslash sequences.
Search webserver/proxy logs for unusual GET /bucket-A/../evil-bucket/key requests with malformed payloads or SQL meta-characters. Run grep -r 'github.com/seaweedfs/seaweedfs' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/seaweedfs/seaweedfs' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/seaweedfs/seaweedfsを grep し、稼働しているサービス・バージョンを把握する。 -
2
Hunt for indicators of compromisedetect
grep 'GET /bucket-A/../evil-bucket/key' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
GET /bucket-A/../evil-bucket/keyへの異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3
Apply temporary workaroundmitigate
For deployments that cannot upgrade immediately, place a reverse proxy in front of the gateway that normalizes the request path and rejects requests whose path contains `..`, `%2e%2e`, or backslash sequences.パッチが適用されるまでの応急処置として、For deployments that cannot upgrade immediately, place a reverse proxy in front of the gateway that normalizes the request path and rejects requests whose path contains
..,%2e%2e, or backslash sequences. を実施。回避策の副作用 (機能低下) を確認した上で。 -
4
Apply patchpatch
Upgrade github.com/seaweedfs/seaweedfs to 0.0.0-20260526080459-dd1b4287899eステージング環境で 0.0.0-20260526080459-dd1b4287899e に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
5
Post-deployment verificationverify
Replay attack against GET /bucket-A/../evil-bucket/key on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/seaweedfs/seaweedfs |
< 0.0.0-20260526080459-dd1b4287899e→ 0.0.0-20260526080459-dd1b4287899e |
0.0.0-20260526080459-dd1b4287899e |
| Bitnamiseaweedfs |
< 4.34.0→ 4.34.0 |
4.34.0 |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web vulncheck.com