{"id":"CVE-2026-53431","aliases":["CVE-2026-53431","EEF-CVE-2026-53431","GHSA-xjv8-vmh5-xhf6"],"related":[],"kind":"vulnerability","state":"published","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.\n\nBoruta 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.\n\nThis issue affects boruta: from 2.3.0 before 2.3.7 and from 3.0.0-beta.1 onward.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nBoruta 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.\n\nThis issue affects boruta: from 2.3.0 before 2.3.7 and from 3.0.0-beta.1 onward.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAuthentication 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.\n\nBoruta 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.\n\nThis issue affects boruta: from 2.3.0 before 2.3.7 and from 3.0.0-beta.1 onward.\n\n## Workarounds\n\nRestrict 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.\n\n## Configurations\n\nThe 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.","format":"markdown","source":"eef"},{"lang":"es","text":"Una vulnerabilidad de omisión de autenticación por captura-repetición en malach-it Boruta permite a un atacante que ha obtenido una aserción de cliente JWT previamente válida autenticarse como el cliente OAuth emisor después de que la aserción haya expirado.\n\nBoruta acepta la autenticación de cliente basada en JWT (métodos de autenticación de punto final de token client_secret_jwt y private_key_jwt) pero nunca impone que la declaración ’exp’ de la aserción esté en el futuro. La función auxiliar de pre-verificación Boruta.Oauth.Request.Base.check_expiration/1 en lib/boruta/oauth/request/base.ex solo verifica que una declaración ’exp’ esté presente (hace coincidir patrones con la existencia de la clave y devuelve éxito), y la configuración de token de Joken utilizada para la verificación de firma, Boruta.Oauth.Authorization.Client.Token.token_config/0 en lib/boruta/oauth/authorization/client.ex, devuelve un mapa vacío, por lo que el validador de declaración ’exp’ predeterminado de Joken tampoco se activa. Cualquier atacante que obtenga una aserción de cliente válidamente firmada (por ejemplo, a través de registros, proxies inversos, herramientas de navegador u otras superficies de observabilidad) puede reproducirla indefinidamente para autenticarse como el cliente y obtener tokens de acceso con los privilegios de ese cliente.\n\nEste problema afecta a boruta: desde 2.3.0 antes de 2.3.7.","source":"nvd"}],"published":"2026-07-30T14:17:27.909Z","modified":"2026-11-26T17:23:05.841Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"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","score":9.1,"rating":"CRITICAL"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-294"],"affected":[{"ranges":[{"type":"semver","introduced":"2.3.0","fixed":"2.3.7","status":"affected"},{"type":"semver","introduced":"3.0.0-beta.1","fixed":"*","status":"affected"}],"vendor":"malach-it","product":"boruta","package":"boruta","cpe":"cpe:2.3:a:malach-it:boruta_auth:*:*:*:*:*:*:*:*","repo":"https://github.com/malach-it/boruta_auth","source":"cvelist"},{"ranges":[{"type":"git","introduced":"5bfbe1c5443bffe71cf1bf954bbdff61327d9a83","fixed":"*","status":"affected"}],"vendor":"malach-it","product":"boruta","package":"malach-it/boruta_auth","cpe":"cpe:2.3:a:malach-it:boruta_auth:*:*:*:*:*:*:*:*","repo":"https://github.com/malach-it/boruta_auth","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.3.7"},{"type":"semver","introduced":"3.0.0-beta.1","status":"affected"}],"ecosystem":"Hex","package":"boruta","purl":"pkg:hex/boruta","source":"eef"},{"ranges":[{"type":"git","introduced":"5bfbe1c5443bffe71cf1bf954bbdff61327d9a83","status":"affected","fixed":"5204f88f9b2cdd9637a755337ed5f99185be5474"},{"type":"git","status":"affected","fixed":"69363432aa36760fc5438e4e17115d0f7c1b925a"}],"repo":"https://github.com/malach-it/boruta_auth","source":"eef"}],"references":[{"url":"https://github.com/malach-it/boruta_auth/security/advisories/GHSA-xjv8-vmh5-xhf6","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-53431.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-53431","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/malach-it/boruta_auth/commit/5bfbe1c5443bffe71cf1bf954bbdff61327d9a83","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/malach-it/boruta_auth/commit/5204f88f9b2cdd9637a755337ed5f99185be5474","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/malach-it/boruta_auth/commit/69363432aa36760fc5438e4e17115d0f7c1b925a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/boruta","tags":["package"],"sources":["eef"]}],"credits":["Pascal Knoth","Jonatan Männchen / EEF"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-30T16:12:55.290Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53431","url":"https://www.cve.org/CVERecord?id=CVE-2026-53431","licence":"CVE Terms of Use","modified":"2026-11-20T09:12:47.878Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-53431","url":"https://osv.dev/vulnerability/EEF-CVE-2026-53431","licence":"CC-BY-4.0","modified":"2026-11-26T17:23:05.841Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53431","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53431","licence":"Public domain","modified":"2026-11-20T10:17:11.477Z"}],"updatedAt":"2026-11-26T17:37:04.971Z","epss":{"score":0.00556,"percentile":0.47783,"date":"2026-12-01T12:00:22.000Z"}}