All vulnerabilities

Servers and applications

GHSA-7fw3-5g74-c7p9

Path traversal in the volume server ReceiveFile and CopyFile RPCs lets a client on the cluster network read and write files outside the volume data directory

Severity
High 8.8
Published
18 Sept 2026
Last changed
18 Sept 2026
Added to UpHeron
22 Oct 2026
Weakness
Path traversal (CWE-22)
Attack
From the same local network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

The volume server gRPC RPCs ReceiveFile and CopyFile build on-disk file paths from the client-supplied Ext and Collection fields without validation. Both are intentionally unauthenticated peer-to-peer RPCs used for replica sync and EC shard distribution between volume servers. A client that can reach the volume server gRPC port can put a traversal value in Ext or Collection and make the RPC write (ReceiveFile) or read (CopyFile) a file outside the volume data directory, anywhere the volume server process user can reach.

The fact that these RPCs are unauthenticated is a documented, accepted trade-off. What this issue reports, and what the fix addresses, is that the same call could act on paths outside the set of volume files the RPC is meant to manage.

weed/server/volume_grpc_copy.go:

  • ReceiveFile builds the write target from fileInfo.Ext / fileInfo.Collection and calls os.Create.
  • CopyFile builds the read source from req.Ext / req.Collection and calls os.Open.
From seaweedfs/seaweedfs's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SeaweedFSServers and applications · github:seaweedfs/seaweedfs
  • Every version up to 3.97

About SeaweedFS

Fast distributed storage system for blobs, objects, files, and data lake, for billions of files. Blob store has O(1) disk seek, cloud tiering

From Wikidata, CC0 1.0.
Docker Hub pulls
42,221,853Docker Hub, 15 Nov 2026
GitHub stars
36,070GitHub, 15 Nov 2026
Forks
3,114GitHub, 15 Nov 2026
Latest release
4.53GitHub, 15 Nov 2026
Released
8 Nov 2026GitHub
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
21 Apr 2015Wikidata
First published on GitHub
14 Jul 2014GitHub

References