CVE-2026-4387: StrongDM State File Reuse
The StrongDM desktop application stored authentication material, including a JWT and a private key, in a plaintext state file in the user's directory. An attacker with user-level access could copy this file to another host and reuse it to obtain an authenticated session as the victim user.
Published on specterops.io
During an assessment, SpecterOps discovered a way to reuse authentication material for StrongDM’s desktop application. After signing in, the desktop application wrote user authentication material to a state file in the user directory, located at the following path:
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker with user-level access could reuse the state file to obtain an authenticated session as the victim user and access infrastructure resources, both within the same environment and on external hosts.
What the attacker needed
User-level access to the host; ability to copy the state file; StrongDM desktop application installed
The fix
The vulnerability was fixed by using platform-native credential storage (macOS Keychain, DPAPI) instead of storing credentials in plaintext in the state file.
How it was found
- Authenticate a session for StrongDM on HOST1 with USER1
- Gather the state file from C:\Users\<USER1>\.sdm\state.kv on HOST1
- Launch StrongDM on HOST2 as any user (e.g., USER2)
- Replace the existing state file with the exfiltrated one from HOST1 for USER1 onto HOST2 at C:\Users\<USER2>\.sdm\state.kv
- StrongDM will refresh automatically and loads the session and resources for USER1
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you log into an app, it often saves a token so you don't have to log in again. Here, the app saved that token and a secret key in a plain file that any user on the computer could read. If an attacker copied that file to another computer, the app would think the attacker was the original user and give them access.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.