Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
dragonflyoss dragonfly
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Dragonfly 是一个基于 P2P 的文件分发与镜像加速开源系统。在版本 2.4.4 之前,manager/router/router.go 中注册了 GET /api/v1/oauth 和 GET /api/v1/oauth/:id 这两个路由,但未应用 jwt.MiddlewareFunc()(JWT 身份验证中间件)或 RBAC()(基于角色的访问控制)。与此同时,manager/handlers/oauth.go 会返回 models.Oauth 记录,而 manager/models/oauth.go

CVSS 2.9 · Low
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-49254

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Dragonfly Manager OAuth provider client_secret disclosure via unauthenticated GET /api/v1/oauth
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
dragonflyoss dragonfly < 2.4.4 -

II. Public POCs for CVE-2026-49254

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-49254

登录查看更多情报信息。

Patches & Fixes for CVE-2026-49254 (1)

Vendor Advisories for CVE-2026-49254 (1)

Vendor Pages for CVE-2026-49254 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-49254

No comments yet


Leave a comment