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

- Severity: Low 2.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-07-02T19:21:30.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-4q9j-6299-gxmr, GO-2026-5901
- Weaknesses: CWE-200, CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- dragonflyoss dragonfly: < 2.4.4
- d7y.io/dragonfly/v2 (Go): before 2.4.4

## Every score

- GitHub_M: CVSS:4.0 2.9 Low `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`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4q9j-6299-gxmr> (advisory, web)
- <https://github.com/dragonflyoss/dragonfly/commit/20cb2f9cb6372d13c029779f427bdb5ede111183>
- <https://github.com/dragonflyoss/dragonfly/releases/tag/v2.4.4>
- <https://github.com/dragonflyoss/dragonfly> (package)

## Sources

- CVE List: [CVE-2026-49254](https://www.cve.org/CVERecord?id=CVE-2026-49254), CVE Terms of Use, modified 2026-09-15
- GitHub Advisory Database: [GHSA-4q9j-6299-gxmr](https://github.com/advisories/GHSA-4q9j-6299-gxmr), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5901](https://pkg.go.dev/vuln/GO-2026-5901), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-49254](https://nvd.nist.gov/vuln/detail/CVE-2026-49254), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-49254 · Whole record: https://cve.day/CVE-2026-49254.json · Rebuilt by cve.day 2026-11-25T22:59:38.535Z
