Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 92%

CVE-2026-49497: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in nationalsecurityagency ghidra

0
Medium
VulnerabilityCVE-2026-49497cvecve-2026-49497
Published: 06/10/2026 (06/10/2026, 12:37:59 UTC)
Source: CVE Database V5
Vendor/Project: nationalsecurityagency
Product: ghidra

Description

Ghidra before 12.1 contains a path traversal vulnerability in SameDirDebugInfoProvider that fails to validate filenames from ELF binary .gnu_debuglink sections before constructing file paths. Attackers can craft malicious ELF binaries with traversal sequences to probe filesystem existence and leak CRC32 hashes of arbitrary files during automatic DWARF analysis.

CVSS v4.0

Score 4.6medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
ghidra
pkg:github/ghidra
Affected versions
<12.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:07:56 UTC

Technical Analysis

CVE-2026-49497 is a path traversal vulnerability in the National Security Agency's Ghidra software before version 12.1. The issue exists in the SameDirDebugInfoProvider, which does not properly validate filenames obtained from the .gnu_debuglink sections of ELF binaries. An attacker can craft malicious ELF binaries containing directory traversal sequences to cause Ghidra to access files outside the intended directory scope. This can be exploited during automatic DWARF debug information analysis to probe for the existence of files on the filesystem and leak CRC32 hashes of arbitrary files. There is no vendor advisory or patch information currently available, and no known exploits in the wild have been reported.

Potential Impact

An attacker can use specially crafted ELF binaries to cause Ghidra to access and leak information about arbitrary files on the host filesystem, specifically CRC32 hashes. This could potentially aid in reconnaissance or further attacks by revealing file presence and content hashes. The vulnerability requires local access (attack vector: local) and user interaction, with low complexity and no privileges required. The overall impact is rated medium with a CVSS score of 4.6.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when analyzing untrusted ELF binaries with Ghidra versions prior to 12.1. Avoid opening suspicious or unverified ELF files to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-05-31T11:54:34.994Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2967aec9170919df1fd473

Added to database: 06/10/2026, 13:33:34 UTC

Last enriched: 07/15/2026, 10:07:56 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 139

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses