CVE-2026-104192
CriticalCVSS 9.6Exploitation Probability (EPSS)
Low risk21th percentile - higher than 21% of all known CVEs
Summary
Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40, OpaqueObjLoader::CreateStream in src/server/rdb_load.cc can associate one streamNACK with a consumer group's global PEL and a consumer-local PEL, then free the shared object when a duplicate consumer entry is rejected. Cleanup subsequently frees the same object again. In the default configuration, where Dragonfly ships with authentication disabled, an unauthenticated client can trigger the double-free by sending a crafted serialized stream to RESTORE, causing allocator corruption, denial of service, and potentially attacker-controlled code execution as the Dragonfly service account.
Risk Assessment
An unauthenticated attacker can cause denial of service and potentially remote code execution in the context of the Dragonfly service account. This leads to loss of availability and potential full system compromise.
Recommendation
Upgrade Dragonfly to version 1.40 or later as soon as available. In the meantime, enable authentication and restrict network access to the Dragonfly instance.
Other vulnerabilities in Dragonfly
See all- CVE-2026-145820High
Dragonfly through 2.1.0 contains a memory exhaustion vulnerability in RespSrvParser::ParseArg that allows remote unauthenticated attackers to force 1 MiB preallocation per connection via RESP bulk length headers. Attackers can open many connections sending small $1048576 headers before authentication, bypassing maxmemory accounting to exhaust host memory and crash the server.
- CVE-2025-59352Critical
Dragonfly versions prior to 2.1.0 have a vulnerability in the gRPC and HTTP APIs that allows peers to force the recipient peer to create files in arbitrary filesystem locations and to read arbitrary files. This enables peers to steal other peers' secret data and gain remote code execution on the peer's machine.
- CVE-2025-59345Critical
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the /api/v1/jobs and /preheats endpoints in Manager web UI are accessible without authentication. Any user with network access to the Manager can create, delete, and modify jobs, and create preheat jobs. An unauthenticated adversary with network access to a Manager web UI uses /api/v1/jobs endpoint to create hundreds of useless jobs. The Manager is in a denial-of-service state, and stops accepting requests from valid administrators. This vulnerability is fixed in 2.1.0.
- CVE-2025-52935Critical
dragonflydb dragonfly (src/redis/lua/struct modules) contains an integer overflow/wraparound vulnerability in lua_struct.C. The issue affects versions 1.30.1, 1.30.0, and 1.28.18.
- CVE-2026-111279High
Dragonfly through 2.0.2 contains an unbounded memory allocation vulnerability that allows unauthenticated clients to exhaust memory by passing a negative COUNT to HRANDFIELD, ZRANDMEMBER or SRANDMEMBER. Attackers can send a single command against a one-element key with a huge negative COUNT to trigger the OOM killer, terminating the instance for all clients.
- CVE-2026-54637Medium
In Dragonfly prior to 2.4.4-rc.3, the scheduler's default unauthenticated v1 gRPC flow accepts attacker-controlled PeerHost.Ip and PeerHost.DownPort values through RegisterPeerTask and ReportPeerResult. These values are copied into resource.Host, and Peer.DownloadTinyFile() builds an HTTP GET request without destination validation, allowing read SSRF against loopback, link-local, and private services. DownPort is restricted to 1024-65534, and up to 128 bytes of the response can be placed in Task.DirectPiece.
- CVE-2026-49254Low
Dragonfly prior to 2.4.4 registers GET /api/v1/oauth and GET /api/v1/oauth/:id without jwt.MiddlewareFunc() or RBAC(), while the handler returns models.Oauth records with client_secret exposed in JSON. When an administrator has configured a GitHub or Google OAuth provider, an unauthenticated network client can retrieve the provider's client secret, client identifier, and redirect URL.
- CVE-2026-62357High
Dragonfly before version 1.40.0 has a vulnerability in CMS.INITBYDIM and CMS.INITBYPROW commands where an arithmetic overflow in buffer size calculation leads to undersized buffer allocation. This allows an unauthenticated remote client to corrupt or disclose adjacent heap memory and crash the server.
- CVE-2025-59410Low
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, the code in the scheduler for downloading a tiny file is hard coded to use the HTTP protocol, rather than HTTPS. This means that an attacker could perform a Man-in-the-Middle attack, changing the network request so that a different piece of data gets downloaded. This vulnerability is fixed in 2.1.0.
- CVE-2025-59354Medium
Dragonfly (DragonFly2) prior to 2.1.0 uses various hash functions, including MD5, for downloaded files. This allows attackers to replace files with malicious ones that have a colliding hash. The vulnerability is fixed in 2.1.0.
Original NVD description (English source)
Dragonfly is an in-memory data store built for modern application workloads. Prior to 1.40, OpaqueObjLoader::CreateStream in src/server/rdb_load.cc can associate one streamNACK with a consumer group's global PEL and a consumer-local PEL, then free the shared object when a duplicate consumer entry is rejected. Cleanup subsequently frees the same object again. In the default configuration, where Dragonfly ships with authentication disabled, an unauthenticated client can trigger the double-free by sending a crafted serialized stream to RESTORE, causing allocator corruption, denial of service, and potentially attacker-controlled code execution as the Dragonfly service account. The source fix has not yet been mapped to a published release.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

