{"id":"CVE-2026-52758","summary":"Ghidra \u003c 12.1 - SQL Injection via Unescaped Filter Values in BSim Search","details":"Ghidra before 12.1 contains a SQL injection vulnerability in BSim filter types that concatenate user-supplied values directly into SQL queries without escaping or parameterization. Remote attackers can inject arbitrary SQL via the BSim network query protocol to read, modify, or delete data in the PostgreSQL database.","aliases":["GHSA-8r4f-65cr-fwxm"],"modified":"2026-08-12T03:51:49.547007340Z","published":"2026-06-10T12:42:30.293Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52758.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52758.json"},{"type":"ADVISORY","url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8r4f-65cr-fwxm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52758"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/ghidra-sql-injection-via-unescaped-filter-values-in-bsim-search"},{"type":"PACKAGE","url":"https://github.com/nationalsecurityagency/ghidra"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nationalsecurityagency/ghidra","events":[{"introduced":"4d856572319837d1419833b84fe1c59fd43d1d77"},{"fixed":"7e89d94e3478f0b1931c34882a0f606fdb06961f"}],"database_specific":{"extracted_events":[{"introduced":"11.0"},{"fixed":"12.1"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52758.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}