Skip to main content

SeaweedFS CVE-2026-58371

| EUVDEUVD-2026-40359 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-30 VulnCheck GHSA-7cpf-frp7-pm75
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts malicious page with injected script tag
  2. Delivery
    Victim browses to attacker-controlled page
  3. Exploit
    Browser issues cross-origin GET to SeaweedFS endpoint with attacker-chosen callback parameter
  4. Execution
    SeaweedFS reflects callback verbatim in application/javascript response
  5. Persist
    Callback function executes in victim browser context
  6. Impact
    Cluster topology and file metadata exfiltrated to attacker-controlled server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a victim user's browser can reach the SeaweedFS master, volume server, or filer over the network - the default configuration binds to 0.0.0.0 with no -whiteList flag and no security.toml, satisfying this condition without any additional misconfiguration. The victim must be induced to visit an attacker-controlled web page that triggers the cross-origin script-tag load. No authentication is required on any of the targeted endpoints, confirmed by PR:N in the provided CVSS 4.0 vector. The MIME-sniffing XSS variant additionally requires a client browser that performs content-type sniffing rather than honoring the declared Content-Type. What limits exploitation: (1) user interaction is mandatory - the victim must actively browse to the attacker's page (UI:P in CVSS 4.0); (2) the attack succeeds only if the victim's browser can route to the SeaweedFS instance, making internet-exposed deployments highest-risk and fully internal-only deployments substantially lower risk; (3) the information leaked is cluster metadata and file identifiers rather than file content, limiting the direct data-loss impact of a single exploitation.

Impact

The CVSS 4.0 score of 2.3 (AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N) accurately represents low immediate severity: exploitation requires victim user interaction and that the victim's browser can reach the SeaweedFS instance, introducing meaningful real-world friction. Direct impact is limited to low-confidence information disclosure - no integrity or availability impact is present in the CVSS metrics. However, the disclosed data (cluster topology, volume URLs, gRPC port assignments, file identifiers, directory trees) carries reconnaissance value that directly supports follow-on attacks against the storage infrastructure, elevating the chained risk materially above the base score. A public proof-of-concept is confirmed via the exploit reference tag and the advisory at vulncheck.com, which lowers attacker bar. The vulnerability is absent from CISA KEV, so active exploitation is not confirmed. EPSS data was not provided in the input; exploitation probability is therefore inferred from structural signals (UI:P, AC:H, low VC) as low-to-moderate. The default-open binding to 0.0.0.0 with no access controls means many production deployments are exposed without any additional misconfiguration required. Assessment: low immediate priority for air-gapped or VPN-only deployments; medium priority where master or filer interfaces are reachable from end-user browsers or untrusted networks.

Exploit ScenarioDerived

An attacker hosts a malicious web page containing a script tag such as <script src='http://internal-seaweedfs:9333/dir/status?callback=exfil'></script> along with a globally defined exfil function that forwards received data to an attacker-controlled server. When an internal employee whose browser can reach the SeaweedFS master visits the attacker's page, the browser loads the endpoint as a script; SeaweedFS returns exfil({...cluster topology JSON...}), which executes in the page context and transmits cluster metadata to the attacker. A public proof-of-concept demonstrating this technique is available at https://github.com/geo-chen/oss/blob/main/seaweedfs.md.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Unvalidated JSONP callback reflection in SeaweedFS before 4.30 enables cross-origin reads of cluster topology, volume server URLs, gRPC ports, file identifiers, and directory listings from unauthenticated endpoints reachable in the default deployment configuration. The shared writeJson helper in weed/server/common.go concatenates the callback query parameter verbatim into application/javascript responses with no allowlist validation, no X-Content-Type-Options: nosniff header, and no CORS policy, allowing attacker-controlled pages to load these endpoints via script tags and receive cluster metadata through the injected callback. A public proof-of-concept exists; the vulnerability is not in CISA KEV; the CVSS 4.0 score of 2.3 reflects constrained direct impact due to required user interaction and high attack complexity, though the leaked reconnaissance data elevates chained-attack risk.

RemediationAI

The primary fix is to upgrade SeaweedFS to version 4.30 or later; the patch was introduced via commit 77dcb20a7485074d37340985d53103f94538abe6 (PR #9686, release at https://github.com/seaweedfs/seaweedfs/releases/tag/4.30) and adds callback-name validation and the missing X-Content-Type-Options: nosniff header to writeJson. For deployments that cannot upgrade immediately, the most effective compensating control is to deploy a reverse proxy (e.g., nginx) in front of the master, volume, and filer ports that strips the callback query parameter from all incoming requests - this eliminates the JSONP vector entirely while preserving normal JSON operation, with the trade-off that any legitimate JSONP consumers in the environment will break. Alternatively, launching SeaweedFS with the -whiteList flag to restrict allowed client IP ranges or binding the service to a loopback or private interface instead of 0.0.0.0 prevents untrusted browsers from reaching the endpoints cross-origin. Adding X-Content-Type-Options: nosniff at the reverse-proxy layer as a response header mitigates the MIME-sniffing XSS variant independently. Network-layer controls (firewall rules blocking public access to SeaweedFS ports 9333 and 8080) also reduce attack surface with no application-level side effects.

Affected VersionsENISA

seaweedfs 0 <4.30

Affected Packages

euvd seaweedfs fix: 4.30

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SeaweedFS is an open-source distributed blob store and file system written in Go (CPE: cpe:2.3:a:seaweedfs:seaweedfs:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting), specifically in the JSONP pattern implemented by the writeJson shared helper. JSONP is a legacy cross-origin data-sharing technique where a server wraps its JSON payload in a caller-supplied JavaScript function name; modern deployments replace it with CORS, but SeaweedFS implements JSONP without any of the security controls that make it safe: no regex or allowlist validation of the callback name, no X-Content-Type-Options: nosniff header to prevent MIME confusion, and no CORS allowlist. Every JSON-emitting endpoint calls this helper, exposing the master server (/dir/status, /dir/lookup, /cluster/status), the volume server (/status), and the filer directory listing. Because the default configuration binds to 0.0.0.0 with no -whiteList flag and no security.toml, all these endpoints are reachable without authentication. The absence of nosniff also means MIME-sniffing browsers may interpret the reflected callback string as HTML, broadening the potential toward reflected XSS.

Know when Seaweedfs gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 3.1 LOW

Network-delivered JSONP attack requires victim browser network access (AV:N) and visiting attacker page (UI:R, AC:H); no auth on endpoints (PR:N); only cluster metadata confidentiality impact (C:L), no integrity or availability effect.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 30, 2026 - 17:22 NVD
3.1 (LOW) 2.3 (LOW)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche distributed object store, limited broad enterprise adoption
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-73080 CRITICAL POC
9.3 Aug 11

Server-side request forgery with response read-back in SeaweedFS distributed storage (versions prior to 4.24) lets anyon

CVE-2026-72921 HIGH POC
8.1 Aug 11

Cross-tenant authorization bypass in SeaweedFS filer JWT path authorization allows any authenticated tenant to read and

CVE-2026-54917 HIGH POC
7.8 Jun 25

Cross-bucket read/write in SeaweedFS before 4.30 lets remote attackers escape a bucket's namespace because the S3 API ga

CVE-2026-58372 HIGH POC
7.2 Jun 30

Cross-tenant object deletion in SeaweedFS before 4.34 lets an authenticated S3 principal holding write access to just on

CVE-2026-72920 CRITICAL
9.8 Aug 11

Authentication bypass in SeaweedFS filer before 4.24 exposes the SeaweedIdentityAccessManagement gRPC service without an

CVE-2026-133464 CRITICAL
9.1 Nov 25

The SeaweedFS SFTP server (versions through 4.45) authenticates an empty login password against any account whose stored

CVE-2026-77298 HIGH
8.7 Aug 26

Authorization bypass in SeaweedFS versions 4.39 and earlier allows authenticated federated users to assume IAM roles the

CVE-2026-77317 HIGH
8.1 Aug 26

Incorrect path authorization in SeaweedFS SFTP server (versions 3.88-4.39) allows an authenticated low-privilege user to

CVE-2026-77368 HIGH
7.6 Aug 26

SeaweedFS 4.39's TUS resumable-upload handler fails to re-validate JWT prefix scoping on HEAD, PATCH, and DELETE operati

CVE-2026-77611 HIGH
7.1 Aug 26

Incorrect authorization in SeaweedFS S3 API's PutObjectAcl handler allows an authenticated low-privilege S3 principal to

CVE-2026-100413 HIGH
7.0 Oct 14

The SeaweedFS Helm chart between versions 4.0.388 and 4.41 embedded a single, unencrypted Ed25519 SFTP host private key

CVE-2026-129851 MEDIUM
6.9 Nov 16

SeaweedFS 4.41 and earlier leave three attacker-controlled inputs unvalidated inside the VolumeServer.FetchAndWriteNeedl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy