{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:malach-it:boruta:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["Elixir.Boruta.Openid"],"packageName":"boruta","packageURL":"pkg:hex/boruta","product":"boruta","programFiles":["lib/boruta/openid.ex"],"programRoutines":[{"name":"'Elixir.Boruta.Openid':register_client/3"},{"name":"'Elixir.Boruta.Openid':parse_registration_params/2"}],"repo":"https://github.com/malach-it/boruta_auth","vendor":"malach-it","versions":[{"lessThan":"2.3.7","status":"affected","version":"2.3.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:malach-it:boruta:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["Elixir.Boruta.Openid"],"packageName":"malach-it/boruta_auth","packageURL":"pkg:github/malach-it/boruta_auth","product":"boruta","programFiles":["lib/boruta/openid.ex"],"programRoutines":[{"name":"'Elixir.Boruta.Openid':register_client/3"},{"name":"'Elixir.Boruta.Openid':parse_registration_params/2"}],"repo":"https://github.com/malach-it/boruta_auth","vendor":"malach-it","versions":[{"changes":[{"at":"82584c854a332482232fd25301ab12a835f9f643","status":"unaffected"},{"at":"95619a1beaff68fa766cca9b388e7c780d182525","status":"unaffected"}],"lessThan":"*","status":"affected","version":"85481b706636fe68a43d0b8d3275e2afc7f7fee1","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>A deployment is vulnerable when the host application exposes <tt>Boruta.Openid.register_client/3</tt> on a network endpoint without requiring a trusted initial access token and without a strict server-side allowlist that prevents caller-supplied administrative attributes from reaching the underlying changeset. The standard controller generator does not install a dynamic client registration route, so deployments that never call <tt>Boruta.Openid.register_client/3</tt> from a public endpoint are not exploitable.</p>"}],"value":"A deployment is vulnerable when the host application exposes Boruta.Openid.register_client/3 on a network endpoint without requiring a trusted initial access token and without a strict server-side allowlist that prevents caller-supplied administrative attributes from reaching the underlying changeset. The standard controller generator does not install a dynamic client registration route, so deployments that never call Boruta.Openid.register_client/3 from a public endpoint are not exploitable."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:malach-it:boruta:*:*:*:*:*:*:*:*","versionEndExcluding":"2.3.7","versionStartIncluding":"2.3.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Pascal Knoth"},{"lang":"en","type":"remediation developer","value":"Pascal Knoth"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Isolation or Compartmentalization vulnerability in malach-it boruta (<tt>Elixir.Boruta.Openid</tt> module) allows attackers to register OpenID Connect clients with administrative privileges through the dynamic client registration entry point. <tt>Boruta.Openid.register_client/3</tt> 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.</p><p>This vulnerability is associated with program files <tt>lib/boruta/openid.ex</tt> and program routines <tt>'Elixir.Boruta.Openid':register_client/3</tt>, <tt>'Elixir.Boruta.Openid':parse_registration_params/2</tt>.</p><p>This issue affects boruta from 2.3.0 before 2.3.7.</p>"}],"value":"Improper Isolation or Compartmentalization vulnerability in malach-it boruta (Elixir.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.\n\nThis vulnerability is associated with program files lib/boruta/openid.ex and program routines 'Elixir.Boruta.Openid':register_client/3, 'Elixir.Boruta.Openid':parse_registration_params/2.\n\nThis issue affects boruta from 2.3.0 before 2.3.7."}],"impacts":[{"capecId":"CAPEC-1","descriptions":[{"lang":"en","value":"CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"}]}],"metrics":[{"cvssV4_0":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.3,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"HIGH"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-653","description":"CWE-653 Improper Isolation or Compartmentalization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-30T14:17:02.942Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/malach-it/boruta_auth/security/advisories/GHSA-w869-fcf2-68vp"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-65635.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-65635"},{"tags":["patch"],"url":"https://github.com/malach-it/boruta_auth/commit/82584c854a332482232fd25301ab12a835f9f643"},{"tags":["patch"],"url":"https://github.com/malach-it/boruta_auth/commit/95619a1beaff68fa766cca9b388e7c780d182525"}],"source":{"discovery":"EXTERNAL"},"title":"Boruta dynamic client registration allows creation of over-privileged OAuth clients","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 <tt>Boruta.Openid.register_client/3</tt> 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.</p>"}],"value":"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."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-65635","datePublished":"2026-07-30T14:17:02.942Z","dateReserved":"2026-07-22T13:58:26.233Z","dateUpdated":"2026-07-30T14:17:02.942Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}