Home / Seaweedfs / Seaweedfs / CVE-2024-40120
CVE-2024-40120: is it exploited, and which versions of Seaweedfs are affected and fixed?
CVE-2024-40120 is a SQL injection vulnerability in Seaweedfs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: github.com/seaweedfs/seaweedfs before 0.0.0-20240625155419-9ac102336200 (GitHub advisory GHSA-q97m-8853-pq76). Fixed in 0.0.0-20240625155419-9ac102336200 (GitHub advisory GHSA-q97m-8853-pq76). Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2024-40120?
seaweedfs v3.68 was discovered to contain a SQL injection vulnerability via the component /abstract_sql/abstract_sql_store.go.
From the CVE record by mitre, last updated May 16, 2025, 15:11 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/seaweedfs/seaweedfs | < 0.0.0-20240625155419-9ac102336200 | 0.0.0-20240625155419-9ac102336200 | GHSA-q97m-8853-pq76 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 16, 2025. Summary: SeaweedFS Vulnerable to SQL Injection.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| seaweedfs | seaweedfs | 3.68 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:45 UTC.
How severe is CVE-2024-40120?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-40120 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, May 16, 2025)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 20.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/seaweedfs/seaweedfs/issues/5710
- https://gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c
When was it published, and where is the official record?
- Reserved
- July 5, 2024
- Published
- May 16, 2025, 00:00 UTC
- CVE record updated
- May 16, 2025, 15:11 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 07:45 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Seaweedfs?
- Nov 25, 2026CVE-2026-133463 seaweedfs: incorrect authorization
- Nov 25, 2026CVE-2026-133464 seaweedfs: authentication bypass (improper authentication)
- Nov 16, 2026CVE-2026-129851 seaweedfs: server-side request forgery (SSRF)
- Nov 16, 2026CVE-2026-129852 seaweedfs: external Control of File Name or Path
- Oct 14, 2026CVE-2026-100413 seaweedfs: hard-coded cryptographic key
- Aug 26, 2026CVE-2026-77611 seaweedfs: incorrect authorization
- Aug 26, 2026CVE-2026-77317 seaweedfs: incorrect authorization
- Aug 26, 2026CVE-2026-77298 seaweedfs: incorrect authorization
Questions about CVE-2024-40120
Is CVE-2024-40120 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Seaweedfs are affected by CVE-2024-40120?
github.com/seaweedfs/seaweedfs before 0.0.0-20240625155419-9ac102336200, per the GitHub advisory GHSA-q97m-8853-pq76. The tables above give every range the sources list.
Which version fixes CVE-2024-40120?
0.0.0-20240625155419-9ac102336200, per the GitHub advisory GHSA-q97m-8853-pq76. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-40120?
Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-40120?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.