CVE-2026-49254 Details
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.
A vulnerability in Dragonfly's OAuth implementation allows unauthenticated clients to access sensitive client secret information from the application's database. This issue affects Dragonfly versions through 2.4.3. The vulnerability arises because the GET /api/v1/oauth and GET /api/v1/oauth/:id endpoints are not protected by authentication or role-based access controls. As a result, an attacker can retrieve OAuth client secrets for GitHub or Google providers, which could be misused to impersonate the application during the OAuth process or to access user accounts that use OAuth sign-in.
Users can upgrade to Dragonfly version 2.4.4, where this vulnerability has been addressed by adding the necessary authentication and access control to the OAuth GET handlers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dragonflyoss/dragonfly/commit/20cb2f9cb6372d13c029779f427bdb5ede111183 | [email protected] | Source CodeVendor |
| https://github.com/dragonflyoss/dragonfly/releases/tag/v2.4.4 | [email protected] | Release NotesVendor |
| https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4q9j-6299-gxmr | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dragonfly | <= 2.4.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 15, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion