Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-53431

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

CVE-2026-53431

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

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 (clientsecretjwt and privatekeyjwt 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.checkexpiration/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.tokenconfig/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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
C
H
U
0
-
C
H
U
-

Related Resources

No items found.

References

https://cna.erlef.org/cves/CVE-2026-53431.html, https://github.com, https://osv.dev/vulnerability/EEF-CVE-2026-53431, https://repo.hex.pm, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53431.json, https://github.com/malach-it/borutaauth/security/advisories/GHSA-xjv8-vmh5-xhf6, https://nvd.nist.gov/vuln/detail/CVE-2026-53431, https://github.com/malach-it/borutaauth/commit/5204f88f9b2cdd9637a755337ed5f99185be5474, https://github.com/malach-it/borutaauth/commit/69363432aa36760fc5438e4e17115d0f7c1b925a, https://github.com/malach-it/borutaauth

Severity

0

CVSS Score
0
10

Basic Information

Base CVSS
0
EPSS Probability
0.00413%
EPSS Percentile
0.34711%
Introduced Version
0
Fix Available
69363432aa36760fc5438e4e17115d0f7c1b925a

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading