# CVE-2026-54885: Server-side request forgery in Boruta OAuth request_uri and OpenID jwks_uri fetching

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-30T14:16:43.631Z
- Modified: 2026-11-26T17:23:05.841Z
- Also known as: EEF-CVE-2026-54885, GHSA-5q9h-vf5j-fr2g
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

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

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

This issue affects boruta: from 2.3.2 before 2.3.7 and from 3.0.0-beta.1 onward.

(As written by CVE List.)

## Affected

- boruta: from 2.3.2 before 2.3.7; from 3.0.0-beta.1 before *
- malach-it/boruta_auth: from 15455b86206e0370eabd64c1856a5c996b436455 before *
- boruta (Hex): from 2.3.2 before 2.3.7; from 3.0.0-beta.1
- https://github.com/malach-it/boruta_auth: from 15455b86206e0370eabd64c1856a5c996b436455 before 001e3dc5c259e67c6f907e98867eda4141c96d0d; before 95fb10b78129355e475681f324c9a01ef0af2be5

## Every score

- EEF: CVSS:4.0 6.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/malach-it/boruta_auth/security/advisories/GHSA-5q9h-vf5j-fr2g> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-54885.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-54885> (related)
- <https://github.com/malach-it/boruta_auth/commit/15455b86206e0370eabd64c1856a5c996b436455> (related, web)
- <https://github.com/malach-it/boruta_auth/commit/001e3dc5c259e67c6f907e98867eda4141c96d0d> (fix, patch)
- <https://github.com/malach-it/boruta_auth/commit/95fb10b78129355e475681f324c9a01ef0af2be5> (fix, patch)
- <https://hex.pm/packages/boruta> (package)

## Sources

- CVE List: [CVE-2026-54885](https://www.cve.org/CVERecord?id=CVE-2026-54885), CVE Terms of Use, modified 2026-11-24
- Erlang Ecosystem Foundation: [EEF-CVE-2026-54885](https://osv.dev/vulnerability/EEF-CVE-2026-54885), CC-BY-4.0, modified 2026-11-26
- NVD: [CVE-2026-54885](https://nvd.nist.gov/vuln/detail/CVE-2026-54885), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-54885 · Whole record: https://cve.day/CVE-2026-54885.json · Rebuilt by cve.day 2026-11-26T17:37:06.165Z
