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

Status: published. Published: 2026-07-30. Updated: 2026-11-24.

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.

## Remediation

- workaround: Restrict 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. (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) — https://github.com/malach-it/boruta_auth/commit/001e3dc5c259e67c6f907e98867eda4141c96d0d
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/malach-it/boruta_auth/commit/95fb10b78129355e475681f324c9a01ef0af2be5

## Affected products and versions

- malach-it / boruta (boruta): ≥ 2.3.2; < 2.3.7 (affected, semver); ≥ 3.0.0-beta.1; < * (affected, semver). Source: CNA: EEF
- malach-it / boruta (malach-it/boruta_auth): ≥ 15455b86206e0370eabd64c1856a5c996b436455; < * (affected, git); unaffected at 001e3dc5c259e67c6f907e98867eda4141c96d0d; unaffected at 95fb10b78129355e475681f324c9a01ef0af2be5. Source: CNA: EEF

## Severity and prioritization

- 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; source: CNA: EEF

- CISA KEV: No listing in collected sources

- EPSS: 0.47% as of 2026-11-23; percentile 41.53%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-918

## Exploit evidence

- exploit: https://github.com/malach-it/boruta_auth/security/advisories/GHSA-5q9h-vf5j-fr2g (ADP: CISA-ADP)

## References

- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-5q9h-vf5j-fr2g (CNA: EEF; vendor-advisory, related)

- https://cna.erlef.org/cves/CVE-2026-54885.html (CNA: EEF; related)

- https://osv.dev/vulnerability/EEF-CVE-2026-54885 (CNA: EEF; related)

- https://github.com/malach-it/boruta_auth/commit/15455b86206e0370eabd64c1856a5c996b436455 (CNA: EEF; related)

- https://github.com/malach-it/boruta_auth/commit/001e3dc5c259e67c6f907e98867eda4141c96d0d (CNA: EEF; patch)

- https://github.com/malach-it/boruta_auth/commit/95fb10b78129355e475681f324c9a01ef0af2be5 (CNA: EEF; patch)

- https://github.com/malach-it/boruta_auth/security/advisories/GHSA-5q9h-vf5j-fr2g (ADP: CISA-ADP; exploit)

## Provenance

- CNA: EEF: https://www.cve.org/CVERecord?id=CVE-2026-54885; retrieved 2026-11-24; source updated 2026-11-24

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-54885; retrieved 2026-11-24; source updated Not reported

Revision: e5bf8aa5e55163231754cdaf816b7f345c36633a0548255be5a18477d00a96b8

Canonical: https://y2.dev/cve/CVE-2026-54885

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.