{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-49498 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-49498 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-49498 is a high-severity SQL injection vulnerability in nationalsecurityagency ghidra, published on 10 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49498 and fix it if it is affected.\n\nWhat it is: CVE-2026-49498 is a high-severity SQL injection vulnerability in nationalsecurityagency ghidra, published on 10 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49498 in the wild and no public exploit code.\n\nAffected product: nationalsecurityagency ghidra. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49498/ (Markdown: https://insights.sbomify.com/CVE-2026-49498/index.md)","id":"CVE-2026-49498","markdown":"https://insights.sbomify.com/CVE-2026-49498/index.md","name":"CVE-2026-49498","record":{"aliases":["GHSA-vv7r-2rhf-5h7g"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Reverse engineering tool","requires_auth":"low_privilege","summary":"Authenticated attackers can inject SQL via crafted usernames in Ghidra to escalate privileges to PostgreSQL superuser and gain full database control.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"ghidra","vendor":"nsa"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"Ghidra 11.0 before 12.1 contains a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase that fails to escape double quotes in usernames interpolated into ALTER ROLE statements. Authenticated attackers can inject SQL commands via crafted username parameters in PasswordChange network messages to escalate to PostgreSQL superuser privileges and gain full database control.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Ghidra 11.0 \u003c 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username","id":"CVE-2026-49498","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Privilege escalation in PowerProtect Data Manager","id":"CVE-2026-49499"},"packages":[],"prev":{"headline":"Ghidra \u003c 12.1 - Path Traversal via .gnu_debuglink in DWARF External Debug File Resolution","id":"CVE-2026-49497"},"products":["ghidra"],"published":"2026-06-10","related":[{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2023-22671","kev_date_added":null,"published":"2023-01-06"},{"cvss_score":9.8,"headline":"XML external entity in n/a","id":"CVE-2019-16941","kev_date_added":null,"published":"2019-09-28"},{"cvss_score":9.1,"headline":"XML external entity in n/a","id":"CVE-2019-13625","kev_date_added":null,"published":"2019-07-17"},{"cvss_score":8.8,"headline":"NSA Ghidra Auto-Analysis Annotation Command Execution","id":"CVE-2026-4946","kev_date_added":null,"published":"2026-03-29"},{"cvss_score":8.7,"headline":"Ghidra \u003c 12.1 - Authentication Bypass via Null Signature in PKIAuthenticationModule","id":"CVE-2026-52754","kev_date_added":null,"published":"2026-06-10"},{"cvss_score":8.7,"headline":"Ghidra \u003c 12.1 - SQL Injection via Unescaped Filter Values in BSim Search","id":"CVE-2026-52758","kev_date_added":null,"published":"2026-06-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["nationalsecurityagency"]},"summary":"Authenticated attackers can inject SQL via crafted usernames in Ghidra to escalate privileges to PostgreSQL superuser and gain full database control.","url":"https://insights.sbomify.com/CVE-2026-49498/"}