MAL-2026-20684

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/dendreo/MAL-2026-20684.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20684
Published
2026-11-25T00:00:00Z
Modified
2026-11-27T04:15:07Z
Summary
Malicious code in Dendreo (RubyGems)
Details

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 git_credential_manager 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.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "note":  "daemon and its config dropped by the second stage",
                "paths":  [
                    "$HOME/.local/share/gcm/git-credential-manager",
                    "$HOME/.local/share/gcm/.env"
                ],
                "source":  "DROPPED"
            },
            {
                "note":  "setuid-root shell (mode 6777), written when the payload runs as root",
                "paths":  [
                    "/usr/local/sbin/ping6"
                ],
                "source":  "DROPPED"
            }
        ],
        "urls":  [
            "https://git.disroot.org/git-ecosystem/"
        ]
    }
}
References
Credits

Affected packages

RubyGems / Dendreo

Package

Name
Dendreo
Purl
pkg:gem/Dendreo

Affected ranges

Affected versions

1.*
1.1.3
1.1.4

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/dendreo/MAL-2026-20684.json"