Skip to main content
← All vulnerabilities
CVE-2026-49254GHSA-4Q9J-6299-GXMRGO-2026-5901

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.4.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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/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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • dragonflyoss dragonfly

    fixed in 2.4.4

  • d7y.io/dragonfly/v2Go

    fixed in 2.4.4

References 3

GitHub · dragonflyoss/dragonfly