All vulnerabilities

Servers and applications

GHSA-jcgp-4284-p6g2

Path traversal in Lance Namespace REST gateway via request-body location enables cross-tenant filer marker write

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

Description

The SeaweedFS Lance Namespace REST catalog gateway (default port 9101, bind 0.0.0.0, launched whenever -s3.port.lance > 0 which is the default) reads a client-supplied request-body location field in handleDeclareTable/handleRegisterTable and passes it — after only strings.TrimSuffix(req.Location, "/") — into a filer path sink. TableDataDirFromMetadataLocation performs path.Join("/buckets", location), which collapses .. segments server-side, and writeMarker then issues a filer CreateEntry at the resulting directory. Because writeMarker never sets SkipCheckParentDirectory, the filer recursively auto-creates every missing parent directory along the traversed path. An attacker can therefore write a fixed-name marker (.lance-reserved / .lance-deregistered) and create parent directories at any location in the filer's virtual namespace — outside the caller's bucket and outside /buckets entirely — enabling cross-tenant writes and targeted hiding of another tenant's live Lance tables.

From seaweedfs/seaweedfs's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
SeaweedFSServers and applications · github:seaweedfs/seaweedfs
  • From 4.43 up to 4.44

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