MAL-2026-20684: Malicious code in Dendreo (RubyGems)

Published Nov 25, 2026
·
Updated

Dendreo 1.1.3 and 1.1.4 were published on 2026-07-18 from the gem's long-dormant maintainer account (previous release 1.1.2, 2020-10-24) and add the malicious gitcredentialmanager gem as a dependency (SleeperGem campaign). 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. Only 1.1.3 and 1.1.4 are affected; both were yanked, and 1.1.2 and earlier are the legitimate releases.

Affected Software

1 affected component
rubygems/dendreo=1.1.3, =1.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.1.2

Event History

Nov 25, 2026
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which installations are exposed to the second-stage payload?

Systems that installed Dendreo 1.1.3 or 1.1.4 outside environments where one of the loader's approximately 30 checked CI variables is set may execute the payload. The affected releases were yanked; Dendreo 1.1.2 and earlier are legitimate.

2

What should teams do if they installed an affected release?

Replace the affected Dendreo version with 1.1.2 or earlier and investigate the host for the installed daemon and persistence mechanisms. The payload creates a user-level systemd service and cron persistence, so removing only the Ruby gem may not remove the compromise.

3

How can responders look for signs of compromise?

Check for $HOME/.local/share/gcm/git-credential-manager, associated systemd user-service configuration, and cron entries created for persistence. On systems where the payload ran as root, check for a setuid-root shell at /usr/local/sbin/ping6.

4

When does the impact become more severe?

The second stage probes for sudo or wheel membership. If it runs as root, it drops the setuid-root shell at /usr/local/sbin/ping6, creating a persistent privileged access mechanism.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203