Skip to main content
VulnerabilityPublished

CVE-2026-49254: V2 · Dragonfly Manager OAuth provider client_secret disclosure via unauthenticated GET /api/v1/oauth

Affects d7y.io/dragonfly/v2Source GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-49254· Low 2.9

Public exploit available · CVSS 2.9 Low : upgrade to 2.4.4 as a priority.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 4.0 base score
2.9Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.4.4
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade d7y.io/dragonfly/v2 to 2.4.4.

Affected software

ProductAffectedFixed in
God7y.io/dragonfly/v2Affected
  • <2.4.4
Fixed in
  • 2.4.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available that adds proper authentication and authorization middleware (JWT and RBAC) to the OAuth GET endpoints. Users should upgrade to a fixed version beyond v2.4.3 or apply the vendor's official fix once released. Until patched, restrict network access to the affected endpoints to trusted users only. Verify that OAuth GET handlers enforce authentication and authorization controls consistent with other HTTP methods in the same group.

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.

References

Community reviews

Loading reviews…