CVE-2026-52758: Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search

Published Jun 10, 2026
·
Updated

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.

Affected Software

2 affected components
National Security Agency Ghidra<12.1
NSA Ghidra>=11.0<12.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ghidra to a version that resolves this vulnerability.

    Fixed in 12.1
  2. Compensating control

    Restrict or block access to the BSim network query protocol from untrusted networks (for example via firewall rules, network ACLs, or host-based firewalls) until Ghidra is upgraded to the fixed version.

  3. Operational

    If exploitation is suspected or confirmed, treat as potential PostgreSQL compromise: review database logs and audit for unauthorized reads/changes/deletions, rotate database credentials and any potentially exposed secrets, and restore affected data from known-good backups as necessary.

Event History

Jun 10, 2026
CVE Published
via MITRE·12:42 PM
Data Sourced
via MITRE·12:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-52758?

The severity of CVE-2026-52758 is rated as high, with a score of 8.7.

2

How do I fix CVE-2026-52758?

To fix CVE-2026-52758, upgrade Ghidra to version 12.1 or later which addresses the SQL injection vulnerability.

3

What type of vulnerability is CVE-2026-52758?

CVE-2026-52758 is an SQL Injection vulnerability that allows attackers to inject arbitrary SQL code.

4

Who is affected by CVE-2026-52758?

Users of Ghidra versions prior to 12.1 are affected by CVE-2026-52758.

5

Can CVE-2026-52758 allow data manipulation?

Yes, CVE-2026-52758 allows remote attackers to read, modify, or delete data due to the SQL injection flaw.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203