EEF-CVE-2026-65635

Source
https://cna.erlef.org/osv/EEF-CVE-2026-65635.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-65635.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-65635
Aliases
Published
2026-07-30T14:17:02.942Z
Modified
2026-07-31T04:20:15.914Z
Severity
  • 8.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Boruta dynamic client registration allows creation of over-privileged OAuth clients
Details

Summary

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.

This 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.

This issue affects boruta from 2.3.0 before 2.3.7.

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.

Configuration

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.

Database specific
{
    "capec_ids": [
        "CAPEC-1"
    ],
    "cwe_ids": [
        "CWE-653"
    ],
    "cpe_ids": [
        "cpe:2.3:a:malach-it:boruta:*:*:*:*:*:*:*:*"
    ]
}
References
Credits
    • Pascal Knoth - FINDER
    • Pascal Knoth - REMEDIATION_DEVELOPER
    • Jonatan Männchen / EEF - ANALYST

Affected packages

Hex / boruta

Package

Name
boruta
Purl
pkg:hex/boruta

Affected ranges

Type
SEMVER
Events
Introduced
2.3.0
Fixed
2.3.7

Affected versions

2.*
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-65635.json"

Git / github.com/malach-it/boruta_auth

Affected ranges

Type
GIT
Repo
https://github.com/malach-it/boruta_auth
Events

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-65635.json"