CVE-2026-53431
Boruta accepts expired JWT client assertions due to missing exp claim validation
Check your servers for CVE-2026-53431
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-53431 affects boruta, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- present: an attack works only when the target is in a certain state or configuration
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.56%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 30 Jul 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-294 Authentication Bypass by Capture-replay
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
boruta
package
boruta |
affected from 2.3.0, before 2.3.7 affected 3.0.0-beta.1 and later
Other versions: unaffected
|
|
boruta
package
malach-it/boruta_auth |
affected 5bfbe1c5443bffe71cf1bf954bbdff61327d9a83 and later (unaffected from 5204f88f9b2cdd9637a755337ed5f99185be5474, unaffected from 69363432aa36760fc5438e4e17115d0f7c1b925a)
Other versions: unaffected
|
Is my server affected?
Find the installed version of boruta and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i boruta
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-53431 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-53431RHEL, Rocky, Alma, Fedora
rpm -q boruta
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-53431Alpine
apk list --installed | grep -i borutaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-53431
trivy image --scanners vuln IMAGE | grep CVE-2026-53431
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- Fix commit 5204f88 in malach-it/boruta_auth github.com · patch
- Fix commit 6936343 in malach-it/boruta_auth github.com · patch
Exploits and proof of concept
- Expired JWT Client Assertions Accepted github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-53431 cna.erlef.org · related
- OSV record EEF-CVE-2026-53431 osv.dev · related
- Introducing commit 5bfbe1c in malach-it/boruta_auth github.com · related
Source: the record CVE-2026-53431 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse