Skip to content

[BUG] rootkit/worm in latest docker image #407

@lockheed

Description

@lockheed

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I think there's something malicious in the last image of qbittorrent. After it's been running for a while, it spawns multiple processes "./netservlet", each of them pegging every CPU core to 100%, as reported by htop on host.

Image

Once they are killed, they reappear within 5-60 minutes. I spent a few days narrowing it down to qbittorrent container. They only stop once the qbittorrent container is stopped.

I have an *arr stack that is connected to this container (huntarr, prowlarr, sonarr, radarr, cleanarr) - I mention it in case these could be causing that qbittorrent behaviour - but if they do, then it's surely a bug. This only started happening a few days ago.

Expected Behavior

No response

Steps To Reproduce

Run qbittorrent container.

Environment

- OS: Arch
- How docker service was installed: pacman -S docker

CPU architecture

x86-64

Docker creation

---
services:
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent:latest
    container_name: qbittorrent
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Warsaw
      - WEBUI_PORT=8080
      - TORRENTING_PORT=6881
    volumes:
      - /z/services/qbittorrent/appdata:/config
      - /mnt/torrent:/downloads
      - /mnt/torrent_perpetual:/upload
      - /mnt/storage/media/#_video/films:/films
      - /mnt/storage/media/#_video/series:/series
    ports:
      - 50152:50152
      - 50152:50152/udp
    networks:
      - proxy      
    labels:
        caddy: torrent.mydomain.com
        caddy.reverse_proxy: "* {{upstreams 8080}}"  
        com.centurylinklabs.watchtower.enable: true        
#        caddy.import: tinyauth_forwarder *    
    restart: always

networks:
  proxy:
    external: true

Container logs

Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 5.1.2-r1-ls411
Build-date: 2025-08-24T06:57:11+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...
******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
[ls.io-init] done.
Catching signal: SIGTERM
Exiting cleanly
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 5.1.2-r1-ls411
Build-date: 2025-08-24T06:57:11+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...
******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
[ls.io-init] done.
Catching signal: SIGTERM
Exiting cleanly
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 5.1.2-r1-ls411
Build-date: 2025-08-24T06:57:11+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...
******** Information ********
To control qBittorrent, access the WebUI at: http://localhost:8080
Connection to localhost (::1) 8080 port [tcp/http-alt] succeeded!
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions