Public vulnerability disclosure

CVE-2026-65635

Boruta dynamic client registration allows creation of over-privileged OAuth clients

publishedCWE-653

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.

Technical severity8.3 highCVSS 4.0 · CNA: EEF
Published2026-07-30Source updated 2026-11-24
Collected2026-11-242 attributed sources

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: EEF

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

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

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
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:NCNA: EEF

Exploit evidence

References

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/cves
https://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.

Agent access JSON · OpenAPI · CVE API guide