Skip to content

MAL-2026-20686 Malicious code in git_credential_manager (RubyGems)

Unknown
Published
Updated
Exploit status
No public exploit known

Description

git_credential_manager impersonates Microsoft's Git Credential Manager. Versions 2.8.0 to 2.8.3 were published on 2026-07-18 and 2026-07-19 as part of the SleeperGem campaign, and the same gem was added as a dependency to hijacked Dendreo releases. From 2.8.2 the code runs when the library is required, not only at install. The loader exits if any of about 30 CI environment variables is set; otherwise it downloads a second stage from https://git.disroot.org/git-ecosystem/ (an account on a public Forgejo instance) with TLS verification disabled and runs it. The second stage installs a daemon at $HOME/.local/share/gcm/git-credential-manager with systemd user service and cron persistence, probes sudo/wheel membership, and when run as root drops a setuid-root shell at /usr/local/sbin/ping6. Reported by Aikido Security and analyzed by StepSecurity. The gem has been removed from RubyGems.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
rubygems git_credential_manager(RubyGems) = 2.8.0; = 2.8.1; = 2.8.2; = 2.8.3 +1 more No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
rubygems git_credential_manager(RubyGems) All versions No fix listed
rubygems git_credential_manager(RubyGems) = 2.8.0 No fix listed
rubygems git_credential_manager(RubyGems) = 2.8.1 No fix listed
rubygems git_credential_manager(RubyGems) = 2.8.2 No fix listed
rubygems git_credential_manager(RubyGems) = 2.8.3 No fix listed

References