Servers and applications
CVE-2026-58371
SeaweedFS < 4.30 - Cross-Origin Information Disclosure via Unvalidated JSONP callback Parameter
- Severity
- Low 3.1
- Published
- 30 Jun 2026
- Last changed
- 8 Nov 2026
- Added to UpHeron
- 8 Nov 2026
- Fixed in
- 4.30
- Exploit chance
- 0.3% in the next 30 daysHigher than 27% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Read some data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N- Sources
- CVE Program
Description
SeaweedFS before 4.30 reflects the callback query parameter verbatim into responses served with Content-Type application/javascript in the shared writeJson helper (weed/server/common.go), with no callback-name validation, no X-Content-Type-Options: nosniff header, and no CORS allow-list. Every JSON endpoint that uses writeJson - including the unauthenticated master endpoints /dir/status, /dir/lookup and /cluster/status, the volume server /status, and the filer directory listing, all reachable in the default configuration (no -whiteList, no security.toml, bound to 0.0.0.0) - can therefore be loaded cross-origin via a script tag with a chosen callback, letting a third-party web page read cluster topology, volume server URLs and gRPC ports, file identifiers, and directory listings. Because the callback string is reflected at the start of the body and no nosniff header is sent, MIME-sniffing clients may also interpret the reflected content as HTML.
Affected software
| Software | Affected versions |
|---|---|
SeaweedFSServers and applications · cna:seaweedfs|seaweedfs |
|
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
- 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
Website Source code Docker image
Vulnerabilities in SeaweedFS
- In our list
- 58
- Published in the last 12 months
- 58
- Critical, last 12 months
- 17
- High, last 12 months
- 26
- Known exploited
- 0
- CVE-2026-129851SeaweedFS before 4.42 SSRF via VolumeServer.FetchAndWriteNeedle Replica URLsMedium 6.9 16 Nov 2026
- CVE-2026-129852SeaweedFS before 4.42 File Existence Disclosure via VolumeServer.FetchAndWriteNeedleMedium 6.9 16 Nov 2026
- GHSA-g96f-g546-47xfS3 gateway gRPC port exposes the IAM and lifecycle admin services without authentication when no filer signing key is configured, allowing anyone with network access to add an admin identityHigh 9 Nov 2026
- GHSA-5vhw-52xr-8x4jSTS AssumeRoleWithWebIdentity ignores trust policies when policy.defaultEffect is AllowMedium 9 Nov 2026
- GHSA-8rrx-349w-6396S3: object-scoped Write grant can change bucket configuration via the prefix query parameterMedium 9 Nov 2026
- GHSA-54j8-2gxc-wr9hS3 gateway applies response header overrides (response-content-type, response-content-disposition) to anonymous requests, enabling stored XSS on publicly readable bucketsMedium 6.1 9 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-58371