# CVE-2024-40120: SeaweedFS Vulnerable to SQL Injection

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A: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.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-05-16T00:00:00.000Z
- Modified: 2026-09-10T03:49:36.481Z
- Also known as: GHSA-q97m-8853-pq76, BIT-SEAWEEDFS-2024-40120, GO-2025-3690
- Related: CGA-437m-96hr-h87g
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

seaweedfs v3.68 was discovered to contain a SQL injection vulnerability via the component /abstract_sql/abstract_sql_store.go.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/seaweedfs/seaweedfs (Go): before 0.0.0-20240625155419-9ac102336200
- seaweedfs seaweedfs: 3.68
- seaweedfs (Bitnami): from 3.68.0 before 3.69.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/seaweedfs/seaweedfs/issues/5710> (exploit, evidence, issue-tracking, report, web)
- <https://gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c> (exploit, evidence, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-40120> (advisory, web)
- <https://github.com/seaweedfs/seaweedfs/commit/9ac1023362000f6e8e58c9d278653f5926a0d90e> (fix, web)
- <https://github.com/seaweedfs/seaweedfs> (package)
- <https://github.com/seaweedfs/seaweedfs/releases/tag/3.69> (web)
- <https://github.com/advisories/GHSA-q97m-8853-pq76> (advisory)

## Sources

- CVE List: [CVE-2024-40120](https://www.cve.org/CVERecord?id=CVE-2024-40120), CVE Terms of Use, modified 2025-05-16
- GitHub Advisory Database: [GHSA-q97m-8853-pq76](https://github.com/advisories/GHSA-q97m-8853-pq76), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3690](https://pkg.go.dev/vuln/GO-2025-3690), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-40120](https://nvd.nist.gov/vuln/detail/CVE-2024-40120), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-SEAWEEDFS-2024-40120](https://osv.dev/vulnerability/BIT-SEAWEEDFS-2024-40120), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-40120 · Whole record: https://cve.day/CVE-2024-40120.json · Rebuilt by cve.day 2026-11-25T22:58:52.679Z
