CVE-2026-58371
SeaweedFS before 4.30 reflects the callback query parameter …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/geo-chen/oss/blob/main/seaweedfs.md
- github.com/seaweedfs/seaweedfs/commit/77dcb20a7485074d37340985d53103f94538abe6
- github.com/seaweedfs/seaweedfs/pull/9686
- github.com/seaweedfs/seaweedfs/releases/tag/4.30
- www.vulncheck.com/advisories/seaweedfs-cross-origin-information-disclosure-via-unvalidated
- nvd.nist.gov/vuln/detail/CVE-2026-58371
- cve.org/CVERecord?id=CVE-2026-58371
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.