{"answers":{"affected":"3 open source packages ship an affected version, including d7y.io/dragonfly/v2.","exploited":"There is no known exploitation of CVE-2026-49254 in the wild and no public exploit code.","fix":"Upgrade d7y.io/dragonfly/v2 to 2.4.4 or later.","what":"CVE-2026-49254 is a low-severity vulnerability in dragonflyoss dragonfly, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49254 and fix it if it is affected.\n\nWhat it is: CVE-2026-49254 is a low-severity vulnerability in dragonflyoss dragonfly, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49254 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- d7y.io/dragonfly/v2 (Go): affected all versions; fixed in 2.4.4\n- d7y.io/dragonfly/v2 (Go): affected all versions; fixed in 2.4.4\n- d7y.io/dragonfly/v2 (Go): affected all versions; fixed in 2.4.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49254/ (Markdown: https://insights.sbomify.com/CVE-2026-49254/index.md)","id":"CVE-2026-49254","markdown":"https://insights.sbomify.com/CVE-2026-49254/index.md","name":"CVE-2026-49254","record":{"aliases":["GHSA-4q9j-6299-gxmr","GO-2026-5901"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"P2P file distribution system","requires_auth":"none","summary":"Unauthenticated attackers can retrieve OAuth client secrets from Dragonfly Manager if OAuth providers are configured, potentially enabling identity provider abuse.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":2.9,"severity":"low","source":"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","version":"4.0"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Dragonfly Manager OAuth provider client_secret disclosure via unauthenticated GET /api/v1/oauth","id":"CVE-2026-49254","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"electerm: Command Injection in File System Operations (rmrf, mv, cp)","id":"CVE-2026-49255"},"packages":[{"ecosystem":"Go","fixed":["2.4.4"],"introduced":["0"],"last_affected":[],"package":"d7y.io/dragonfly/v2","purl":null,"source":"GHSA-4q9j-6299-gxmr"},{"ecosystem":"Go","fixed":["2.4.4"],"introduced":["0"],"last_affected":[],"package":"d7y.io/dragonfly/v2","purl":"pkg:golang/d7y.io/dragonfly/v2","source":"GHSA-4q9j-6299-gxmr"},{"ecosystem":"Go","fixed":["2.4.4"],"introduced":["0"],"last_affected":[],"package":"d7y.io/dragonfly/v2","purl":"pkg:golang/d7y.io/dragonfly/v2","source":"GO-2026-5901"}],"prev":{"headline":"electerm: Path Traversal in Zmodem and Trzsz Download Filename Handling","id":"CVE-2026-49253"},"products":["dragonfly"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-15","vendors":["dragonflyoss"]},"summary":"Unauthenticated attackers can retrieve OAuth client secrets from Dragonfly Manager if OAuth providers are configured, potentially enabling identity provider abuse.","url":"https://insights.sbomify.com/CVE-2026-49254/"}