---
id: CVE-2026-54637
title: >-
  Dragonfly is an open source P2P-based file distribution and image acceleration
  system
summary: >-
  Dragonfly is an open source P2P-based file distribution and image acceleration
  system. 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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'
cwe:
  - CWE-918
vendor: dragonflyoss
product: dragonfly
affected:
  - dragonfly < 2.4.4-rc.3
patched:
  - d7y.io/dragonfly/v2 2.4.4-rc.3
published: '2026-09-15'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T19:17:20.870'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54637'
references:
  - url: >-
      https://github.com/dragonflyoss/dragonfly/commit/4f9bd93d22453e3f433f9d912bfeeca22760c237
    label: security-advisories@github.com
  - url: 'https://github.com/dragonflyoss/dragonfly/releases/tag/v2.4.4-rc.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-chwm-m7g7-685g
    label: security-advisories@github.com
  - url: >-
      https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-chwm-m7g7-685g
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/internal/job/image.go#L211
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/pkg/net/http/http.go#L50-L80
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/pkg/rpc/scheduler/server/server.go#L71-L90
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/scheduler/resource/standard/peer.go#L435-L478
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/scheduler/scheduler.go#L235-L246
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/scheduler/service/service_v1.go#L1176-L1202
  - url: >-
      https://github.com/dragonflyoss/dragonfly/blob/0822e3aecc3369017d6b25c9441ff6f318129b31/scheduler/service/service_v1.go#L816-L845
  - url: 'https://github.com/advisories/GHSA-chwm-m7g7-685g'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
  - exploit-available
aliases:
  - GHSA-chwm-m7g7-685g
ecosystem: go
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-16T18:11:47.342399Z'
cvssSource: cna
ingestedAt: '2026-07-06T20:46:12.643Z'
epss: 0.008
epssPercentile: 0.54727
---

## Overview

Dragonfly is an open source P2P-based file distribution and image acceleration system. 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, storeHost copies those values into resource.Host, and handlePeerSuccess invokes Peer.DownloadTinyFile() for a TINY task. DownloadTinyFile() in scheduler/resource/standard/peer.go builds an HTTP GET request from the supplied address without destination validation, allowing a remote attacker to probe loopback, link-local, and private services and place up to TinyFileSize, 128 bytes, of a response in Task.DirectPiece for later retrieval. PeerHost.DownPort is restricted to ports 1024 through 65534, and the issue provides read SSRF rather than remote code execution. The remediation blocks loopback and link-local targets, while RFC1918 destinations remain reachable because IsGlobalUnicast accepts private ranges. This issue is fixed in 2.4.4-rc.3.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54637)

Affected packages:

- `d7y.io/dragonfly/v2 <= 2.4.4-rc.2`

Patched in:

- `d7y.io/dragonfly/v2 2.4.4-rc.3`

Source: https://github.com/advisories/GHSA-chwm-m7g7-685g
