# mRemoteNG improper certificate validation (CVE-2026-87867) and weak key derivation (CVE-2026-87868)

> CERT Polska disclosed two vulnerabilities in mRemoteNG 1.76.20: the client accepts any TLS certificate from its Microsoft SQL Server backend (enabling man-in-the-middle interception, CWE-295), and stored connection passwords are protected with a key derived from a single unsalted, non-iterated MD5 hash (CWE-328), with a publicly known default passphrase. Together they expose the credential store of a widely used remote-connection manager.

- **Published:** 2026-11-19T15:15:31Z
- **Last reviewed:** 2026-11-19T15:15:31Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6468
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6468.png
- **ID:** TL-2026-6468
- **Severity:** MEDIUM
- **Category:** VULNERABILITY
- **Status:** TRACKING
- **Detections:** 9 (1 shown free below) · **IOCs:** 8
- **CVEs:** CVE-2026-87867, CVE-2026-87868, CVE-2020-24307, CVE-2023-30367

## Description

CERT Polska published coordinated-disclosure advisory on 19 November 2026 covering two vulnerabilities in mRemoteNG, an open-source multi-protocol remote connections manager. Only version 1.76.20 was tested and confirmed vulnerable; the vendor did not supply an affected-version range, so other versions may also be affected. The advisory does not state a CVSS score, exploitation status, public proof-of-concept, fixed versions, indicators of compromise or attribution. Severity in this record is an analyst assessment (MEDIUM) pending a published CVSS score; no CVSS value has been invented.

CVE-2026-87867 (CWE-295, Improper Certificate Validation): mRemoteNG can store its connection list in a Microsoft SQL Server backend. The client encrypts the connection to that server but does not authenticate it: it accepts any certificate the server presents, including a self-signed certificate supplied by an attacker. An attacker positioned between the client and the SQL Server, for example via ARP or DNS spoofing, can therefore intercept the session in a man-in-the-middle attack. According to CERT Polska this exposes the encrypted connection-password table and the database login.

CVE-2026-87868 (CWE-328, Use of Weak Hash): the key used to protect stored connection passwords is derived with a single MD5 hash, with no salt and no iterations. An attacker who obtains the encrypted data (for example by intercepting the SQL backend traffic per CVE-2026-87867, or by obtaining a connection file) can brute-force weak or moderate passphrases offline and decrypt every stored connection password. When the default passphrase is in use, no cracking is needed because the key derives from a publicly known value.

Chaining the two issues gives a credential-theft path: intercept the SQL backend session, capture the encrypted password table and database login, then decrypt the stored remote-access credentials offline. The recovered credentials would then be usable against the remote hosts the manager is configured to reach (analyst inference; not described in the advisory). Context from the project's GitHub issue tracker (issue 2585) shows mRemoteNG has had prior CVEs (CVE-2023-30367, CWE-312, CVSS 3.1 7.5: configuration/credentials loaded in plaintext into memory in versions up to 1.76.20 and 1.77.x-nb; CVE-2020-24307, disputed local privilege-escalation record against 1.76.20, CVSS 3.1 7.8) and slow upstream remediation (maintainer acknowledged in April 2024 that a fix was in progress; no upstream release is shown in the issue); a community fork reported fixes for those in a beta build in February 2026. No vendor response or fix for the 2026 CVEs is documented in the CERT Polska advisory. Credit: Maksymilian Kubiak and Bartłomiej Zalewski. NVD returned no record for CVE-2026-87867 at research time.

## MITRE ATT&CK

- T1557 Adversary-in-the-Middle
- T1557 Adversary-in-the-Middle
- T1557.002 ARP Cache Poisoning
- T1040 Network Sniffing
- T1555 Credentials from Password Stores
- T1110.002 Password Cracking
- T1552.001 Credentials In Files
- T1078 Valid Accounts

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**confCons.xml mRemoteNG Connection File Accessed or Copied by Non-mRemoteNG Process** (`TL-2026-6468-SPL-002`)

Detects process command lines or file-creation events referencing confCons.xml (the mRemoteNG connection file holding encrypted stored passwords) from any process other than mRemoteNG.exe. With a single unsalted MD5-derived key and a publicly known default passphrase (CVE-2026-87868), a stolen confCons.xml can be decrypted offline, exposing every stored remote-access credential (T1552.001, T1555).

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1552.001, T1552, T1555
- **Data sources:** sysmon, defender_for_endpoint
- **Severity:** medium
- **Confidence:** high

### Splunk SPL

```spl
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" earliest=-24h
    ((EventCode=1 CommandLine="*confCons.xml*") OR (EventCode=11 TargetFilename="*confCons.xml*"))
    NOT Image="*\\mRemoteNG.exe"
| eval evidence=if(EventCode=1, "process_commandline", "file_created")
| stats count min(_time) as first_seen values(evidence) as evidence values(CommandLine) as command_lines values(TargetFilename) as files by Computer, User, Image
| convert ctime(first_seen)
| table Computer User Image evidence command_lines files count first_seen
```

### Microsoft KQL

```kql
union
(DeviceProcessEvents
 | where Timestamp > ago(24h)
 | where ProcessCommandLine has "confCons.xml" and FileName !~ "mRemoteNG.exe"
 | project Timestamp, DeviceName, Account = AccountName, Process = FileName, Evidence = "process_commandline", Detail = ProcessCommandLine),
(DeviceFileEvents
 | where Timestamp > ago(24h)
 | where FileName =~ "confCons.xml" and ActionType in ("FileCreated", "FileModified", "FileRenamed")
 | where InitiatingProcessFileName !~ "mRemoteNG.exe"
 | project Timestamp, DeviceName, Account = InitiatingProcessAccountName, Process = InitiatingProcessFileName, Evidence = "file_event", Detail = FolderPath)
| sort by Timestamp desc
```

### Sigma

```yaml
title: mRemoteNG confCons.xml Referenced by Non-mRemoteNG Process
id: 9c4f5d71-6eaf-4f8b-8d54-8031be0d4f04
status: experimental
description: Detects command lines referencing confCons.xml, the mRemoteNG connection file with encrypted stored passwords, from processes other than mRemoteNG.exe. The file key is a single unsalted MD5 hash (CVE-2026-87868) so a copied file can be cracked or decrypted offline.
references:
    - https://cert.pl/en/posts/2026/11/CVE-2026-87867/
    - https://www.cve.org/CVERecord?id=CVE-2026-87867
    - https://www.cve.org/CVERecord?id=CVE-2026-87868
author: Threadlinqs Team
date: 2026/11/19
tags:
    - attack.credential-access
    - attack.t1552
    - attack.t1552.001
    - attack.t1555
    - cve.2026-87867
    - cve.2026-87868
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains: 'confCons.xml'
    filter_main_client:
        Image|endswith: '\mRemoteNG.exe'
    condition: selection and not filter_main_client
falsepositives:
    - Backup or configuration-management agents copying user profiles
    - Administrators migrating mRemoteNG settings
level: medium

```

**Known false positives:**

- Backup, sync or EDR agents reading user profile data
- Administrators migrating or archiving mRemoteNG settings

**Tuning notes:** Exclude approved backup and migration tooling by Image or account. File-read events are not logged by Sysmon, so this keys on command lines and file creation/copies; add object-access auditing (Security 4663) on %APPDATA%\mRemoteNG\confCons.xml for read coverage.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Adversary-in-the-Middle Tooling (ARP/DNS Spoofing) Executed on Endpoint — [indicator] SQL Backend Interception (locked: unlock with TL Creds)
- Offline Password Cracking or [indicator] Decryption Tooling Executed ([indicator], john, mremoteng-decrypt) (locked: unlock with TL Creds)
- [indicator] Spawning Command Interpreters or LOLBins (Hijacked Session or Credential Abuse) (locked: unlock with TL Creds)
- Windows IP Address Conflict (Tcpip 4199) Burst Indicating ARP Cache Poisoning on [indicator] Segments (locked: unlock with TL Creds)
- Suspicious Process Memory Access to [indicator] (Credential Recovery from Client Memory) (locked: unlock with TL Creds)
- Direct Query of [indicator] SQL Backend Connection Table (tblCons) via sqlcmd, bcp or PowerShell (locked: unlock with TL Creds)
- [indicator] SQL Backend Hostname Resolving to Multiple Server IPs (CVE-2026-87867 AiTM Redirect) (locked: unlock with TL Creds)
- [indicator] Client Fan-Out to Many Remote Hosts (Stored Credential Use, Lateral Movement) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [Vulnerabilities in MRemoteNG software - CERT Polska](https://cert.pl/en/posts/2026/11/CVE-2026-87867/)
- [CVE-2026-87867 CVE record](https://www.cve.org/CVERecord?id=CVE-2026-87867)
- [CVE-2026-87868 CVE record](https://www.cve.org/CVERecord?id=CVE-2026-87868)
- [CERT Polska coordinated vulnerability disclosure process](https://cert.pl/en/cvd/)
- [mRemoteNG issue 2585: CVE-2020-24307 and CVE-2023-30367](https://github.com/mRemoteNG/mRemoteNG/issues/2585)
- [mRemoteNG project repository](https://github.com/mRemoteNG/mRemoteNG)
- [GHSA-wg3r-23qv-fhj6 (prior mRemoteNG advisory referenced in issue 2585)](https://github.com/advisories/GHSA-wg3r-23qv-fhj6)
- [GHSA-qmw7-qmmv-f8vj (prior mRemoteNG advisory referenced in issue 2585)](https://github.com/advisories/GHSA-qmw7-qmmv-f8vj)
- [NVD: CVE-2023-30367 (mRemoteNG plaintext configuration in memory)](https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-30367)
- [NVD: CVE-2020-24307 (mRemoteNG 1.76.20, disputed)](https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-24307)
- [secuvera advisory SA-2023-01 (mRemoteNG)](https://www.secuvera.de/advisories/secuvera-SA-2023-01.txt)
- [CVE-2023-30367 mRemoteNG password dumper (public PoC for the prior CVE)](https://github.com/S1lkys/CVE-2023-30367-mRemoteNG-password-dumper)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6468
