{"affected":[{"package":{"ecosystem":"Hex","name":"boruta","purl":"pkg:hex/boruta"},"ranges":[{"events":[{"introduced":"2.3.2"},{"fixed":"2.3.7"}],"type":"SEMVER"}],"versions":["2.3.2","2.3.3","2.3.4","2.3.5","2.3.6"]},{"ranges":[{"events":[{"introduced":"15455b86206e0370eabd64c1856a5c996b436455"},{"fixed":"001e3dc5c259e67c6f907e98867eda4141c96d0d"},{"fixed":"95fb10b78129355e475681f324c9a01ef0af2be5"}],"repo":"https://github.com/malach-it/boruta_auth","type":"GIT"}]}],"aliases":["GHSA-5q9h-vf5j-fr2g","CVE-2026-54885"],"credits":[{"name":"Pascal Knoth","type":"FINDER"},{"name":"Pascal Knoth","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"ANALYST"}],"database_specific":{"capec_ids":["CAPEC-664"],"cpe_ids":["cpe:2.3:a:malach-it:boruta_auth:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-918"]},"details":"## Summary\n\nServer-Side Request Forgery vulnerability in malach-it Boruta allows an unauthenticated remote attacker to cause the OAuth/OpenID authorization server to issue outbound HTTP requests to attacker-chosen URIs, including internal services and cloud metadata endpoints.\n\nThree code paths fetch remote URIs supplied by the requester without sufficient validation of the target. Boruta.Oauth.Request.Base.fetch\\_unsigned\\_request/1 in lib/boruta/oauth/request/base.ex dereferences the OAuth request\\_uri parameter from the authorization request via Finch.build(:get, request\\_uri) |> Finch.request(OpenIDHttpClient). Boruta.Openid.parse\\_registration\\_params/2 in lib/boruta/openid.ex dereferences the jwks\\_uri supplied in an OpenID Connect dynamic client registration request. Boruta.Ecto.Clients.refresh\\_jwk\\_from\\_jwks\\_uri/1 in lib/boruta/adapters/ecto/clients.ex later refreshes the stored jwks\\_uri for an existing client. In all three paths the only validation is that the URI parses with a scheme (and one of the two request\\_uri clauses does not even restrict the scheme to http or https). The implementations do not require HTTPS, do not enforce a host or IP allowlist, do not reject loopback, private, link-local, or other non-public ranges after DNS resolution, do not cap response size, and do not constrain redirects. An attacker can therefore steer the server's HTTP client at arbitrary network targets reachable from the Boruta host.\n\nThis issue affects boruta: from 2.3.2 before 2.3.7.\n\n## Workaround\n\nRestrict the network egress of the Boruta host so that the OAuth/OpenID authorization server cannot reach loopback, private, link-local, multicast, or cloud metadata addresses. Where possible, disable application routes for OAuth request\\_uri dereferencing and OpenID Connect dynamic client registration, or restrict OpenID Connect dynamic client registration to trusted callers, until a patched release is deployed.","id":"EEF-CVE-2026-54885","modified":"2026-07-30T14:16:43.631Z","published":"2026-07-30T14:16:43.631Z","references":[{"type":"ADVISORY","url":"https://github.com/malach-it/boruta_auth/security/advisories/GHSA-5q9h-vf5j-fr2g"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-54885.html"},{"type":"FIX","url":"https://github.com/malach-it/boruta_auth/commit/001e3dc5c259e67c6f907e98867eda4141c96d0d"},{"type":"FIX","url":"https://github.com/malach-it/boruta_auth/commit/95fb10b78129355e475681f324c9a01ef0af2be5"},{"type":"PACKAGE","url":"https://hex.pm/packages/boruta"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","type":"CVSS_V4"}],"summary":"Server-side request forgery in Boruta OAuth request_uri and OpenID jwks_uri fetching","upstream":[]}