Skip to content
OpenAdvisories
Low · 2.9 CVE-2026-49254 EUVD-2026-78577GHSA-4q9j-6299-gxmrGO-2026-5901

Dragonfly Manager OAuth provider client_secret disclosure via unauthenticated GET /api/v1/oauth

Published Sep 15, 2026 · Updated Sep 15, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
dragonflyoss dragonfly < 2.4.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go d7y.io/dragonfly/v2 < 2.4.4 2.4.4 GHSA-4q9j-6299-gxmr

Advisories 1

References