CVE-2026-49254 Dragonfly Manager OAuth provider client_secret disclosure via unauthenticated GET /api/v1/oauth
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| d7y.io/dragonfly/v2(Go) | < 2.4.4; <= 2.4.3 | 2.4.4 | Fixed |
| dragonflyoss dragonfly | = < 2.4.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| d7y.io/dragonfly/v2(Go) | < 2.4.4 | 2.4.4 |
| dragonflyoss dragonfly | = < 2.4.4 | No fix listed |
| d7y.io/dragonfly/v2(Go) | <= 2.4.3 | No fix listed |
References
- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4q9j-6299-gxmr vendor-advisory
- github.com product
- https://github.com/dragonflyoss/dragonfly/commit/20cb2f9cb6372d13c029779f427bdb5ede111183
- https://github.com/dragonflyoss/dragonfly/releases/tag/v2.4.4
- github.com
- ENISA EUVD EUVD-2026-78577 third-party-advisory