---
id: CVE-2026-53431
title: >-
  Boruta accepts expired JWT client assertions due to missing exp claim
  validation
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 ac…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-294
vendor: malach-it
product: boruta
affected:
  - boruta >= 2.3.0 < 2.3.7
  - boruta >= 3.0.0-beta.1 < *
  - malach-it/boruta_auth >= 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83 < *
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-07-30T16:12:55.290055Z'
exploitAvailable: true
published: '2026-07-30'
updated: '2026-11-20'
sourceUpdated: '2026-11-20T09:12:47.878Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-53431'
references:
  - url: >-
      https://github.com/malach-it/boruta_auth/security/advisories/GHSA-xjv8-vmh5-xhf6
    label: Expired JWT Client Assertions Accepted
  - url: 'https://cna.erlef.org/cves/CVE-2026-53431.html'
    label: EEF CNA record for CVE-2026-53431
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-53431'
    label: OSV record EEF-CVE-2026-53431
  - url: >-
      https://github.com/malach-it/boruta_auth/commit/5bfbe1c5443bffe71cf1bf954bbdff61327d9a83
    label: Introducing commit 5bfbe1c in malach-it/boruta_auth
  - url: >-
      https://github.com/malach-it/boruta_auth/commit/5204f88f9b2cdd9637a755337ed5f99185be5474
    label: Fix commit 5204f88 in malach-it/boruta_auth
  - url: >-
      https://github.com/malach-it/boruta_auth/commit/69363432aa36760fc5438e4e17115d0f7c1b925a
    label: Fix commit 6936343 in malach-it/boruta_auth
tags:
  - cve.org
  - exploit-available
epss: 0.00556
epssPercentile: 0.47043
ingestedAt: '2026-11-23T22:37:59.882Z'
---

## Overview

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 and from 3.0.0-beta.1 onward.

## Affected

- `boruta >= 2.3.0 < 2.3.7`
- `boruta >= 3.0.0-beta.1 < *`
- `malach-it/boruta_auth >= 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83 < *`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

### Workarounds

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.
