CVE-2026-48027: Malicious Nx Console 18.95.0 Extension Harvested Developer Credentials (CISA KEV)

CVE-2026-48027 covers a malicious build of the Nx Console extension for VS Code, version 18.95.0, published to the Visual Studio Marketplace and Open VSX on May 19, 2026. It installed a backdoor and harvested GitHub, npm, cloud, Vault and SSH credentials. Version 18.100.0 is clean. CISA added it to the Known Exploited Vulnerabilities catalog on May 27, 2026.

TL;DR: For about 18 minutes on the Visual Studio Marketplace and 36 minutes on Open VSX, the official Nx Console extension was a credential stealer. Version 18.95.0 installed a Python backdoor with persistence and took tokens and keys from disk, environment variables and memory. If any machine had 18.95.0 installed or had auto-update on during that window, treat it as compromised. Rotate every credential it could reach and rebuild it. Upgrading to 18.100.0 or later removes the extension but not what it stole.

TL;DR and CVE Summary

CVE Identifier
CVE-2026-48027
Vendor advisory
GHSA-c9j4-9m59-847w and the Nx postmortem
Affected
Nx Console 18.95.0 exactly (extension ID angular-console)
Clean versions
18.100.0 and later
Exposure window
May 19, 2026: 12:30 to 12:48 UTC on the Visual Studio Marketplace and 12:33 to 13:09 UTC on Open VSX
Severity
CVSS 3.1 base score 9.8 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Weakness
CWE-506 Embedded Malicious Code
CISA KEV
Added May 27, 2026. Due date June 10, 2026.
Not affected
The Nx CLI, the official @nx plugins and Nx Cloud, per the postmortem

This is not a coding mistake in the usual sense. The extension did what its author intended because the author was an attacker. That changes the response. Patching is not enough, because the harm is done when the payload runs. The work is credential rotation and forensic triage of every developer machine that installed the bad build.

What This Vulnerability Actually Is

Nx Console is the editor interface for the Nx build system, used by many JavaScript and TypeScript teams. Its maintainers published a detailed postmortem that traces the compromise back through a chain of failures.

It began upstream. On May 11, 2026 attackers published malicious versions of dozens of @tanstack npm packages through a weakness in TanStack's GitHub Actions publishing. An Nx contributor ran pnpm install in an unrelated repository that pulled one of them, @tanstack/[email protected]. The repository had a minimum release age set that would have blocked a package only 77 minutes old, but the pinned pnpm version did not support that setting and ignored it without warning. The package's install script stole the contributor's GitHub CLI token from ~/.config/gh/hosts.yml.

The attacker used that token over several days, including to delete workflow runs. On May 19 they published Nx Console 18.95.0 under the contributor's identity. The release pipeline did not require a second person to approve a publish. Marketplace automation emailed the maintainers, one noticed the unexpected release within minutes and the version was pulled. The postmortem reports 28 Marketplace installs and 41 Open VSX downloads from 21 addresses. Nx telemetry recorded about 6,000 extension activations. Nx says the true number of affected users may be higher.

What the Payload Did

The malicious build fetched an obfuscated payload. According to the postmortem it set up a Python backdoor, added a macOS LaunchAgent for persistence across reboots, attempted changes to /etc/sudoers on Linux and installed a Bun runtime on Windows for persistence. It then collected:

  • GitHub tokens from CLI configuration files, ~/.git-credentials, environment variables and process memory
  • npm tokens from .npmrc and through OIDC token exchange
  • AWS credentials through metadata services, Secrets Manager, SSM Parameter Store and web identity tokens
  • HashiCorp Vault tokens and Kubernetes service account tokens
  • Active 1Password CLI sessions
  • SSH keys, .env files, Google Cloud application default credentials and Docker configuration

Data left over HTTPS, through the GitHub API and through DNS-based channels. The postmortem does not list attacker domains, so network blocklists alone will not find past exfiltration.

How an Attacker Would Exploit This

There was no exploit step for the victim to fall for. A developer who installed or auto-updated to 18.95.0 ran the payload when the extension activated. From the attacker's side, the value is in what the stolen credentials open next: source repositories, package registries where they can publish their own malicious versions, cloud accounts and CI pipelines. That is how one compromised contributor became a compromised extension. One compromised developer laptop can become a compromised product the same way.

This description is defensive context. Sherlock Forensics does not publish malicious code or reproduce payloads.

Public Exploit Availability

We checked five sources on November 15, 2026. For an embedded malicious code case the usual exploit sources do not apply in the normal way, which the table reflects.

SourceStatusDetail
CISA KEVListedAdded May 27, 2026. Due date June 10, 2026.
GitHubNo exploit codeNo exploit repositories. The vendor advisory and incident issue live in the nrwl/nx-console repository.
Exploit-DBNone foundNo entry for this CVE.
MetasploitNot applicableThere is no remote exploit for a module to wrap. The malicious build was the attack.
NucleiNot applicableNo network-facing check exists for an editor extension version.

Forensic Detection Angle

Triage starts with the version question and moves to artifacts, then to the systems the stolen credentials could reach. The indicators below are from the Nx postmortem, which credits StepSecurity for the check commands.

Was the bad version installed?

  • Run code --list-extensions --show-versions and look for angular-console at 18.95.0.
  • Check the VS Code extensions folder for a directory whose name includes angular-console and 18.95.0. Its timestamps place the install inside the May 19 window.
  • Check for the upstream package @tanstack/[email protected] in lockfiles and package caches.

Host artifacts on macOS and Linux

  • ~/.local/share/kitty/cat.py
  • ~/Library/LaunchAgents/com.user.kitty-monitor.plist
  • /var/tmp/.gh_update_state and /tmp/kitty-*
  • Unexpected entries in /etc/sudoers or /etc/sudoers.d/ on Linux

Host artifacts on Windows

  • %USERPROFILE%\.local\share\kitty\cat.py
  • %TEMP%\kitty-* and %TEMP%\.gh_update_state
  • %USERPROFILE%\.bun\bin\bun.exe
  • New scheduled tasks, Run or RunOnce registry values and Startup folder entries
  • The hash fragment 558b09d7 in the npm cache

Process indicators

  • A Python process running cat.py
  • Any process with the environment variable __DAEMONIZED=1

Image or collect the affected machine before rebuilding it. Hash the collection and keep a chain of custody record. Then follow the credentials. Review the GitHub audit log for token use from unfamiliar addresses, unexpected workflow runs or deleted runs. Review npm publish history for packages the developer could publish. Pull cloud audit logs such as AWS CloudTrail for API calls made with the developer's keys after May 19. The machine tells you what was taken. The audit logs tell you what was done with it.

Developer Machines Are Production Systems

Many security programs still treat a developer laptop as an endpoint and a build server as infrastructure. This incident shows why that split no longer holds. The laptop carried tokens that could publish software to thousands of other machines, change source code and reach cloud accounts. In practice it held production access.

Apply the same controls you would apply to a server that holds production keys. Keep long-lived tokens out of plaintext files and inject them from a secret manager when needed. Give publishing rights to as few people as possible and require a second approval. Collect editor extension inventories the same way you collect installed software. When an extension or package is reported as malicious, that inventory turns a week of guesswork into a query.

Detection Signature

title: Nx Console 18.95.0 payload artifacts (CVE-2026-48027)
id: 2c6e8a1f-9d4b-4a7e-b3c5-8f1d0e6a2b79
status: experimental
description: File artifacts written by the malicious Nx Console 18.95.0 payload
references:
    - https://nx.dev/blog/nx-console-v18-95-0-postmortem
logsource:
    category: file_event
detection:
    selection:
        TargetFilename|endswith:
            - '/.local/share/kitty/cat.py'
            - '\.local\share\kitty\cat.py'
            - '/Library/LaunchAgents/com.user.kitty-monitor.plist'
            - '/.gh_update_state'
            - '\.gh_update_state'
            - '\.bun\bin\bun.exe'
    condition: selection
level: critical
tags:
    - attack.persistence
    - attack.credential_access
---
title: Python running kitty cat.py backdoor (CVE-2026-48027)
id: 8b4d2f6a-1e9c-4c3b-a7d5-0f2e8c6b4a13
status: experimental
description: Python process executing the cat.py backdoor dropped by Nx Console 18.95.0
logsource:
    category: process_creation
detection:
    selection:
        Image|contains: 'python'
        CommandLine|contains: 'kitty'
        CommandLine|endswith: 'cat.py'
    condition: selection
level: critical

Mitigation and Patch Guidance

  1. Find exposed machines. If 18.95.0 was installed or auto-update was on during the May 19 window, treat the machine as compromised.
  2. Rotate credentials. Rotate everything that was on disk or in the shell environment: GitHub, npm, SSH, AWS, Google Cloud, Azure, Kubernetes, Vault and every secret in .env files.
  3. Rebuild. The payload installs persistence, so Nx recommends a full rebuild after rotation rather than cleanup in place.
  4. Update the extension. Install Nx Console 18.100.0 or later on the rebuilt machine.
  5. Harden the toolchain. Nx's own lessons apply widely: pin pnpm 10.16 or later so minimum release age is enforced, keep GitHub CLI tokens out of plaintext files, require a second approver for publishes and pin GitHub Actions to commit hashes.

If you need to know what an attacker did with a developer's credentials, Sherlock Forensics runs incident response engagements remotely and works from the machine image and your audit logs.

References and Further Reading

Frequently Asked Questions

Which Nx Console version is malicious?

Only version 18.95.0, published on May 19, 2026. It was live for about 18 minutes on the Visual Studio Marketplace and 36 minutes on Open VSX. Version 18.100.0 and later are clean.

Is upgrading Nx Console enough to fix CVE-2026-48027?

No. The payload ran when the extension activated, stole credentials and installed persistence. Rotate every credential the machine could reach, rebuild the machine and then install 18.100.0 or later.

What credentials did the Nx Console 18.95.0 payload steal?

It targeted GitHub tokens, npm tokens, AWS credentials, Vault and Kubernetes tokens, 1Password CLI sessions, SSH keys, .env files, Google Cloud credentials and Docker configuration.

How do I check a machine for the Nx Console compromise?

Run code --list-extensions --show-versions and look for angular-console 18.95.0. Then look for kitty/cat.py, com.user.kitty-monitor.plist, .gh_update_state, kitty temp files, a Bun runtime under the user profile and any process with __DAEMONIZED=1.

Make Sherlock Forensics your preferred source in Google Search