# CVE-2026-58371: SeaweedFS < 4.30 - Cross-Origin Information Disclosure via Unvalidated JSONP callback Parameter

- Severity: Low 2.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-30T15:57:36.585Z
- Modified: 2026-11-08T14:06:56.821Z
- Also known as: BIT-SEAWEEDFS-2026-58371
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- seaweedfs seaweedfs: before 4.30
- seaweedfs (Bitnami): before 4.30.0

## Every score

- VulnCheck: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- VulnCheck: CVSS:4.0 2.3 Low `CVSS: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 Database: rating Low

## References

- <https://github.com/geo-chen/oss/blob/main/seaweedfs.md> (exploit, technical-description, web)
- <https://github.com/seaweedfs/seaweedfs/releases/tag/4.30> (release-notes, web)
- <https://github.com/seaweedfs/seaweedfs/pull/9686> (issue-tracking, patch, web)
- <https://github.com/seaweedfs/seaweedfs/commit/77dcb20a7485074d37340985d53103f94538abe6> (patch, web)
- <https://www.vulncheck.com/advisories/seaweedfs-cross-origin-information-disclosure-via-unvalidated-jsonp-callback-parameter> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-58371> (web)

## Sources

- CVE List: [CVE-2026-58371](https://www.cve.org/CVERecord?id=CVE-2026-58371), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-58371](https://nvd.nist.gov/vuln/detail/CVE-2026-58371), Public domain, modified 2026-07-14
- Bitnami Vulnerability Database: [BIT-SEAWEEDFS-2026-58371](https://osv.dev/vulnerability/BIT-SEAWEEDFS-2026-58371), Apache-2.0, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-58371 · Whole record: https://cve.day/CVE-2026-58371.json · Rebuilt by cve.day 2026-11-25T22:59:26.719Z
