CVE-2026-67242

RabbitMQ: OAuth2 is_integer(Exp) guard skips token-expiry checks for float exp

Published Sep 25, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
RabbitMQ is a messaging and streaming broker. From 4.2.0 until 4.2.9 and 4.3.3, OAuth2 isinteger(Exp) guard skips token-expiry checks for float exp. validatetokenexpiry/1 (lines 208-214) and expirytimestamp/1 (138-144) both guard with 'when isinteger(Exp)' and fall through to ok/never for float values. josejwt:verify validates only the signature, not exp. With float exp, no expiry validation occurs anywhere in the If the IdP emits exp as a JSON float (RFC 7519 permits fractional NumericDate), both the login-time expiry check and the mid-connection disconnect timer are silently skipped , an already-expired token is accepted, and connections never time OAuth2 backend enabled IdP emits float exp (uncommon; mainstream IdPs emit integers) Attacker possesses a previously-valid signed. This issue is fixed in versions 4.2.9 and 4.3.3.

Analysis

AI-generated

Technical impact

RabbitMQ’s OAuth2 guard incorrectly permits tokens whose expiration claim is a floating point number. The guard only checks expiration when the value is an integer; when a float is provided the check is skipped, so a token that has already expired is accepted as valid. An attacker who can supply a previously signed, expired token can keep an authenticated session alive indefinitely, potentially gaining continued access to broker resources. The vulnerability directly undermines the trust model of OAuth2 and allows unauthorized subscription or publishing to queues that should be protected by token lifetime.

Affected Systems

RabbitMQ Server versions from 4.2.0 through 4.2.8 and from 4.3.0 through 4.3.2 are affected. The issue is resolved in releases 4.2.9 and 4.3.3 and later versions.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. EPSS data are not provided, and the vulnerability is not listed in CISA’s KEV catalog, but the attack can be performed from any system that can obtain a signed JWT from an OAuth2 identity provider. If the IdP emits a floating point expiration value, an attacker can exploit the flaw without additional privileges by presenting the token to RabbitMQ. The vulnerability’s impact relies on the attacker’s ability to obtain a valid, previously issued token, which is a common capability in OAuth2 deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade RabbitMQ to version 4.2.9 or newer (including 4.3.3) which contains a fix for the expiration check.
  • If an upgrade is not feasible, reconfigure the identity provider to emit integer expiration timestamps (RFC 7519 NumericDate) instead of floating point values.
  • As a temporary measure, add application‑level validation that rejects tokens with floating point expiration values or enforces a maximum token lifetime before accepting a connection.

Generated by OpenCVE AI on September 25, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Broadcom
Broadcom rabbitmq Server
CPEs cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom rabbitmq Server
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Type Values Removed Values Added
First Time appeared Rabbitmq
Rabbitmq rabbitmq-server
Vendors & Products Rabbitmq
Rabbitmq rabbitmq-server
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
Description RabbitMQ is a messaging and streaming broker. From 4.2.0 until 4.2.9 and 4.3.3, OAuth2 isinteger(Exp) guard skips token-expiry checks for float exp. validatetokenexpiry/1 (lines 208-214) and expirytimestamp/1 (138-144) both guard with 'when isinteger(Exp)' and fall through to ok/never for float values. josejwt:verify validates only the signature, not exp. With float exp, no expiry validation occurs anywhere in the If the IdP emits exp as a JSON float (RFC 7519 permits fractional NumericDate), both the login-time expiry check and the mid-connection disconnect timer are silently skipped , an already-expired token is accepted, and connections never time OAuth2 backend enabled IdP emits float exp (uncommon; mainstream IdPs emit integers) Attacker possesses a previously-valid signed. This issue is fixed in versions 4.2.9 and 4.3.3.
Title RabbitMQ: OAuth2 is_integer(Exp) guard skips token-expiry checks for float exp
Weaknesses CWE-613
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 25, 2026, 8:01 PM
Reserved
Jul 28, 2026, 7:50 PM
Status
Analyzed
Published
Sep 25, 2026, 5:17 PM
Modified
Oct 16, 2026, 4:22 PM
Severity
Moderate
Public date
Sep 25, 2026, 4:16 PM