# CVE-2026-65635: Boruta dynamic client registration allows creation of over-privileged OAuth clients

Status: published. Published: 2026-07-30. Updated: 2026-11-24.

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.

## Remediation

- 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: EEF)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/malach-it/boruta_auth/commit/82584c854a332482232fd25301ab12a835f9f643
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/malach-it/boruta_auth/commit/95619a1beaff68fa766cca9b388e7c780d182525

## Affected products and versions

- malach-it / boruta (boruta): ≥ 2.3.0; < 2.3.7 (affected, semver); ≥ 3.0.0-beta.1; < * (affected, semver). Source: CNA: EEF
- malach-it / boruta (malach-it/boruta_auth): ≥ 85481b706636fe68a43d0b8d3275e2afc7f7fee1; < * (affected, git); unaffected at 82584c854a332482232fd25301ab12a835f9f643; unaffected at 95619a1beaff68fa766cca9b388e7c780d182525. Source: CNA: EEF

## Severity and prioritization

- CVSS 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; source: CNA: EEF

- CISA KEV: No listing in collected sources

- EPSS: 0.38% as of 2026-11-23; percentile 33.02%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-653

## Exploit evidence

- exploit: https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vp (ADP: CISA-ADP)

## References

- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vp (CNA: EEF; vendor-advisory, related)

- https://cna.erlef.org/cves/CVE-2026-65635.html (CNA: EEF; related)

- https://osv.dev/vulnerability/EEF-CVE-2026-65635 (CNA: EEF; related)

- https://github.com/malach-it/boruta_auth/commit/85481b706636fe68a43d0b8d3275e2afc7f7fee1 (CNA: EEF; related)

- https://github.com/malach-it/boruta_auth/commit/82584c854a332482232fd25301ab12a835f9f643 (CNA: EEF; patch)

- https://github.com/malach-it/boruta_auth/commit/95619a1beaff68fa766cca9b388e7c780d182525 (CNA: EEF; patch)

- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vp (ADP: CISA-ADP; exploit)

## Provenance

- CNA: EEF: https://www.cve.org/CVERecord?id=CVE-2026-65635; retrieved 2026-11-24; source updated 2026-11-24

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-65635; retrieved 2026-11-24; source updated Not reported

Revision: 64e05312150202e4fbceaf2bbc6e8a4299453ca523c3e222b6ac539cdc586617

Canonical: https://y2.dev/cve/CVE-2026-65635

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.