CVE-2026-58371
JSON

2.3low

SeaweedFS < 4.30 - Cross-Origin Information Disclosure via Unvalidated JSONP callback Parameter

Severity
2.3low CVSS:4.0 by VulnCheck
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
BIT-SEAWEEDFS-2026-58371

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

Product or packageVersionsReported by
seaweedfs seaweedfsbefore 4.30CVE List
seaweedfs (Bitnami)before 4.30.0Bitnami Vulnerability Database

All scores

VulnCheck3.1low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
VulnCheck2.3low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Bitnami Vulnerability Databaselow rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58371 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-58371 changed 2026-07-14Public domain
Bitnami Vulnerability DatabaseBIT-SEAWEEDFS-2026-58371 changed 2026-09-25Apache-2.0