# CVE-2026-53431: Boruta accepts expired JWT client assertions due to missing exp claim validation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.77% (percentile 52, 2026-11-28)
- **CWE:** CWE-294
- **Published:** 2026-07-30T14:17:27.909Z
- **Modified:** 2026-11-20T10:17:11.477Z

## Who should check

- Anyone running malach-it boruta \>= 2.3.0, \< 2.3.7; \>= 3.0.0-beta.1, \< \*
- Anyone running malach-it boruta \>= 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83, \< \*

## Description

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 and fixed versions

- malach-it boruta: \>= 2.3.0, \< 2.3.7; \>= 3.0.0-beta.1, \< \* (cvelist)
- malach-it boruta: \>= 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83, \< \* (cvelist)

## Mitigation

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

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53431. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53431.md
Affected: malach-it boruta >= 2.3.0, < 2.3.7; >= 3.0.0-beta.1, < *; malach-it boruta >= 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83, < *
Fixed in: malach-it boruta 2.3.7

Steps:
1. Search this machine and project for malach-it boruta: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53431 being exploited?

There is no confirmed exploitation: CVE-2026-53431 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.77% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-53431?

Critical: CVSS 9.1 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-53431?

malach-it boruta \>= 2.3.0, \< 2.3.7; \>= 3.0.0-beta.1, \< \*; malach-it boruta \>= 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83, \< \*.

### Is there a fix for CVE-2026-53431?

Yes. Fixed in malach-it boruta 2.3.7. Vendor 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.

### How do I check if I'm affected by CVE-2026-53431?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/malach-it/boruta_auth/security/advisories/GHSA-xjv8-vmh5-xhf6>
- patch: <https://github.com/malach-it/boruta_auth/commit/5bfbe1c5443bffe71cf1bf954bbdff61327d9a83>
- patch: <https://github.com/malach-it/boruta_auth/commit/5204f88f9b2cdd9637a755337ed5f99185be5474>
- patch: <https://github.com/malach-it/boruta_auth/commit/69363432aa36760fc5438e4e17115d0f7c1b925a>
- other: <https://cna.erlef.org/cves/CVE-2026-53431.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-53431>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53431>

HTML: <https://flawdb.com/CVE-2026-53431> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53431>
