---
id: CVE-2026-49254
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, manager/router/router.go registers GET /api/v1/oauth
  and GET /api/v1/oauth/:id without jwt.MiddlewareFunc() or RBAC(), while
  manager/h…
severity: low
cvss: 2.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P'
cwe:
  - CWE-200
  - CWE-306
vendor: dragonflyoss
product: dragonfly
affected:
  - dragonfly < 2.4.4
patched:
  - d7y.io/dragonfly/v2 2.4.4
published: '2026-09-15'
updated: '2026-09-15'
sourceUpdated: '2026-09-15T19:17:19.950'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-49254'
references:
  - url: >-
      https://github.com/dragonflyoss/dragonfly/commit/20cb2f9cb6372d13c029779f427bdb5ede111183
    label: security-advisories@github.com
  - url: 'https://github.com/dragonflyoss/dragonfly/releases/tag/v2.4.4'
    label: security-advisories@github.com
  - url: >-
      https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4q9j-6299-gxmr
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-4q9j-6299-gxmr'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-15T17:38:29.070942Z'
cvssSource: cna
ingestedAt: '2026-07-02T19:41:50.939Z'
epss: 0.0048
epssPercentile: 0.38736
---

## Overview

Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.4.4, manager/router/router.go registers GET /api/v1/oauth and GET /api/v1/oauth/:id without jwt.MiddlewareFunc() or RBAC(), while manager/handlers/oauth.go returns models.Oauth records and manager/models/oauth.go exposes Oauth.ClientSecret as client_secret in JSON. When an administrator has configured a GitHub or Google OAuth provider, an unauthenticated network client can reach GetOauth or GetOauths, load the stored models.Oauth record, and obtain the provider's client secret, client identifier, and redirect URL. The earlier GHSA-j8hf-cp34-g4j7 remediation protected the /jobs group only and did not protect these OAuth GET handlers. Disclosure of client_secret can enable abuse of the configured identity-provider integration, subject to the provider's redirect URI restrictions. This issue is fixed in 2.4.4.

## Remediation

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

## Package advisory (CVE-2026-49254)

Affected packages:

- `d7y.io/dragonfly/v2 <= 2.4.3`

Patched in:

- `d7y.io/dragonfly/v2 2.4.4`

Source: https://github.com/advisories/GHSA-4q9j-6299-gxmr
