Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/seaweedfs/seaweedfs
  4. ›
  5. CVE-2024-40120

CVE-2024-40120: SeaweedFS Vulnerable to SQL Injection

May 16, 2025

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

References

  • gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c
  • github.com/advisories/GHSA-q97m-8853-pq76
  • github.com/seaweedfs/seaweedfs
  • github.com/seaweedfs/seaweedfs/commit/9ac1023362000f6e8e58c9d278653f5926a0d90e
  • github.com/seaweedfs/seaweedfs/issues/5710
  • github.com/seaweedfs/seaweedfs/releases/tag/3.69
  • nvd.nist.gov/vuln/detail/CVE-2024-40120

Code Behaviors & Features

Detect and mitigate CVE-2024-40120 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20240625155419-9ac102336200

Fixed versions

  • 0.0.0-20240625155419-9ac102336200

Solution

Upgrade to version 0.0.0-20240625155419-9ac102336200 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

go/github.com/seaweedfs/seaweedfs/CVE-2024-40120.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 08 Jan 2026 12:20:03 +0000.