Cyber Security News

Critical StrongDM Flaw Exposes Users to Authentication Token Theft and Reuse

A critical security vulnerability tracked as CVE-2026-4387 has been disclosed in StrongDM, allowing attackers to steal and reuse authentication tokens to gain unauthorized access to infrastructure.

The issue, discovered by SpecterOps researcher Hope Walker, affects StrongDM desktop and CLI environments before the patched versions and poses significant risks to enterprise environments that rely on centralized access control.

StrongDM Flaw Exposes Users

The vulnerability stems from how StrongDM previously handled authentication data. After a user successfully logged into the StrongDM desktop application, sensitive session data was stored locally in a file named state.kv, located in the user directory at C:\Users<username>.sdm\state.kv.

This file contained a JSON Web Token (JWT) along with a public and private key pair, all stored in plaintext.

SpecterOps found that this state file could be copied and reused across systems to impersonate authenticated users. An attacker with user-level access could exfiltrate the state.Copy the KV file from a compromised machine and place it on another system. Once the StrongDM application loaded the file, it would automatically grant access as the original user without requiring reauthentication.

Authentication Endpoint (Source: specterops)

In practical terms, this means that attackers did not need credentials, multi-factor authentication, or direct interaction with identity providers. Simply possessing the state file was sufficient to hijack active sessions and access protected resources such as databases, servers, or cloud infrastructure managed via StrongDM.

State File Identification in Process Monitor (Source: specterops)

Further analysis revealed that the JWT could also be retrieved locally through an internal endpoint (http://127.0.0.1:65220/v2/authentication) using minimal request headers. This made token extraction even easier during an active session. Combined with the exposed key pair in the state file, the attack enabled full session replay capabilities.

One notable aspect of the research was that the attack worked not only within the same environment but also across external systems. Even when initial protections appeared to clear the state file, attackers could reliably bypass this by replacing the file after launching the application, allowing session takeover on completely different hosts.

The root cause lies in the insecure storage of authentication material and the lack of binding between session tokens and specific devices. Since only standard user permissions were required to access the file, the attack significantly lowered the barrier for exploitation, especially in post-compromise scenarios.

State.kv File Reuse Verification (Source: specterops)

StrongDM addressed the issue in Desktop version 23.74.0 and CLI version 53.77.0. The fix replaces plaintext storage with platform-native secure storage mechanisms such as Windows DPAPI and macOS Keychain. After remediation, the state.kv file no longer contains JWT tokens, preventing reuse attacks even if the file is stolen.

Security teams are strongly advised to update all StrongDM clients immediately and monitor for suspicious access patterns. Additionally, restricting local file access, enforcing endpoint security controls, and auditing session behavior can help reduce exposure to similar token replay attacks.

This vulnerability highlights the critical importance of secure credential storage. It reinforces that even local session artifacts can become high-impact attack vectors if improperly protected.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago