Skip to content
Heist/ feed
Back to feed
High

Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-52758
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:36 UTC · Revision 1

Source evidence

Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search

core-osv · Original source

Published 10 Jun 2026, 12:42 UTC

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.

osv:CVE-2026-52758
Complete source record
{
  "id": "5cf05c22504d0ce5e4a7e028672669c124fb13c68df565f4155ae8a3c57eaa94",
  "url": "https://osv.dev/vulnerability/CVE-2026-52758",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search",
    "summary": "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.",
    "evidence": "osv:CVE-2026-52758",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-52758",
      "aliases": [
        "CVE-2026-52758",
        "GHSA-8r4f-65cr-fwxm"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nationalsecurityagency/ghidra",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4d856572319837d1419833b84fe1c59fd43d1d77"
                },
                {
                  "fixed": "7e89d94e3478f0b1931c34882a0f606fdb06961f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "11.0"
                      },
                      {
                        "fixed": "12.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0"
                      },
                      {
                        "fixed": "12.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52758.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.975900017Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52758.json",
        "https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8r4f-65cr-fwxm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-52758",
        "https://www.vulncheck.com/advisories/ghidra-sql-injection-via-unescaped-filter-values-in-bsim-search",
        "https://github.com/nationalsecurityagency/ghidra"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52758.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-52758",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496882,
  "published_at": "2026-06-10T12:42:30.293+00:00"
}