CVE-2026-65635
Boruta dynamic client registration allows creation of over-privileged OAuth clients
Improper Isolation or Compartmentalization vulnerability in malach-it boruta (Boruta.Openid module) allows attackers to register OpenID Connect clients with administrative privileges through the dynamic client registration entry point. Boruta.Openid.register_client/3 forwards caller-supplied registration parameters to the administrative client creation path without a public/admin field-level allowlist, so an unauthenticated registrant can set security-sensitive attributes including supported grant types, authorized scopes, PKCE enforcement, public refresh and revocation behavior, token lifetimes, and signing settings. The library does not distinguish between metadata a public registrant is allowed to set and administrative controls that should require operator approval. This vulnerability is associated with program files lib/boruta/openid.ex and program routines Boruta.Openid.register_client/3, Boruta.Openid.parse_registration_params/2. This issue affects boruta: from 2.3.0 before 2.3.7 and from 3.0.0-beta.1 onward.
Fixes and workarounds
Workaround
Disable the dynamic client registration route or restrict it to authenticated administrators. If dynamic registration must remain available to untrusted callers, do not forward the request parameters to Boruta.Openid.register_client/3 directly. Instead, construct a new parameter map in the host application that contains only the standards-defined public metadata (such as redirect URIs, client name, logo, and contacts) and overwrite every administrative attribute (supported grant types, authorized scopes, PKCE flag, public refresh and revocation flags, token lifetimes, signing settings, token endpoint authentication method) with values from a fixed least-privilege server-side profile before calling the function.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| boruta malach-it boruta
hex |
≥ 2.3.0; < 2.3.7 (affected, semver) ≥ 3.0.0-beta.1; < * (affected, semver) Other versions: unaffected |
CNA: EEF |
| boruta malach-it malach-it/boruta_auth
github |
≥ 85481b706636fe68a43d0b8d3275e2afc7f7fee1; < * (affected, git); unaffected at 82584c854a332482232fd25301ab12a835f9f643; unaffected at 95619a1beaff68fa766cca9b388e7c780d182525
Other versions: unaffected |
CNA: EEF |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 8.3 high |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:L/SC:L/SI:L/SA:N | CNA: EEF |
Exploit evidence
- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vp
exploit · ADP: CISA-ADP
References
- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vpCNA: EEF · vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2026-65635.htmlCNA: EEF · related
- https://osv.dev/vulnerability/EEF-CVE-2026-65635CNA: EEF · related
- https://github.com/malach-it/boruta_auth/commit/85481b706636fe68a43d0b8d3275e2afc7f7fee1CNA: EEF · related
- https://github.com/malach-it/boruta_auth/commit/82584c854a332482232fd25301ab12a835f9f643CNA: EEF · patch
- https://github.com/malach-it/boruta_auth/commit/95619a1beaff68fa766cca9b388e7c780d182525CNA: EEF · patch
- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vpADP: CISA-ADP · exploit
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.