BreachSpiderVerified, not vibes

CVE-2022-27966 in Netsarang Xshell and 2 more products

Medium 6.5

Xshell v7.0.0099 and below contains a binary hijack vulnerability which allows attackers to execute arbitrary code via a crafted .exe file.

Affects 3 products from 2 vendors. Facts below cite their sources.

CVSS 3.16.5
EPSS0.4%
EPSS percentile28th
FixSee advisory

Requires local access, low complexity, high privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Netsarang Xshell ≤ 7.0.0099
Netsarang Xshell 7 ≤ 7.0.0099

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Xshell v7.0.0099 and below contains a binary hijack vulnerability which allows attackers to execute arbitrary code via a crafted .exe file.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-27966
BreachSpider IDBS-2022-GLOBAL-316434-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Published2022-03-31
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-428: CWE-428

Analysis AI-written, not human-reviewed

Xshell v7.0.0099 and below are vulnerable to a binary hijack vulnerability that allows attackers to execute arbitrary code through a crafted .exe file.

The vulnerability arises from improper validation of executable files, enabling attackers to place a malicious .exe file in a specific directory that Xshell will execute, leading to arbitrary code execution.

Questions

What is CVE-2022-27966?

Xshell v7.0.0099 and below are vulnerable to a binary hijack vulnerability that allows attackers to execute arbitrary code through a crafted .exe file.

What is the CVSS score for CVE-2022-27966?

CVE-2022-27966 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2022-27966 actively exploited?

No confirmed active exploitation of CVE-2022-27966 as of 2026-09-25.

How do I remediate CVE-2022-27966?

Priority: HIGH. Advisory: https://www.netsarang.com/en/xshell-update-history/ PSIRT: [email protected]

What systems are affected by CVE-2022-27966?

CVE-2022-27966 affects Netsarang Xshell, Xshell 7.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Netsarang","product":"Xshell","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.