VDB
KO

EEF-CVE-2026-53431

Boruta accepts expired JWT client assertions due to missing exp claim validation

Quick fix

EEF-CVE-2026-53431 — boruta: upgrade to the fixed version with the command below.

mix deps.update boruta

Details

## Summary

Authentication Bypass by Capture-replay vulnerability in malach-it Boruta allows an attacker who has obtained a previously valid JWT client assertion to authenticate as the issuing OAuth client after the assertion has expired.

Boruta accepts JWT-based client authentication (client\_secret\_jwt and private\_key\_jwt token endpoint authentication methods) but never enforces that the assertion's exp claim is in the future. The pre-check helper Boruta.Oauth.Request.Base.check\_expiration/1 in lib/boruta/oauth/request/base.ex only verifies that an exp claim is present (it pattern-matches on the existence of the key and returns success), and the Joken token configuration used for signature verification, Boruta.Oauth.Authorization.Client.Token.token\_config/0 in lib/boruta/oauth/authorization/client.ex, returns an empty map, so Joken's default exp claim validator is not engaged either. Any attacker who obtains a validly-signed client assertion (for example through logs, reverse proxies, browser tooling, or other observability surfaces) can replay it indefinitely to authenticate as the client and obtain access tokens with that client's privileges.

This issue affects boruta: from 2.3.0 before 2.3.7.

## Workaround

Restrict the use of JWT-based client authentication (client\_secret\_jwt and private\_key\_jwt) to highly trusted clients, and prefer non-JWT client authentication methods (client\_secret\_basic or client\_secret\_post) where possible. Where JWT client authentication must remain enabled, issue short-lived client assertions and protect them from exposure in application logs, fronting proxies, browser tooling, and observability systems to reduce the window for replay.

## Configuration

The attack requires that the Boruta deployment has provisioned at least one OAuth client configured to authenticate via JWT client assertions (client\_secret\_jwt or private\_key\_jwt token endpoint authentication methods). Deployments that authenticate clients only via client\_secret\_basic or client\_secret\_post are not exposed.

Are you affected?

Enter the version of the package you're using.

Affected packages

Hex / boruta
Introduced in: 2.3.0 Fixed in: 2.3.7
Fix mix deps.update boruta

References