Back

HIGH

OpenSIPS 3.1 <= 3.6.4 auth_jwt SQL Injection Enables JWT Authentication Bypass

Published Feb 25, 2026

Description

OpenSIPS versions 3.1 before 3.6.4 containing the auth_jwt module (prior to commit 3822d33) contain a SQL injection vulnerability in the jwt_db_authorize() function in modules/auth_jwt/authorize.c when db_mode is enabled and a SQL database backend is used. The function extracts the tag claim from a JWT without prior signature verification and incorporates the unescaped value directly into a SQL query. An attacker can supply a crafted JWT with a malicious tag claim to manipulate the query result and bypass JWT authentication, allowing impersonation of arbitrary identities.

Affected products

Remediation

Red Hat statement

This is an IMPORTANT flaw in OpenSIPS. The vulnerability exists when the `auth_jwt` module is enabled, configured with `db_mode`, and utilizes a SQL database backend for JWT authorization. An attacker can exploit this specific configuration to bypass authentication and impersonate identities by crafting a malicious JWT. Systems are only affected if OpenSIPS is deployed with this particular configuration.

Weaknesses (1)

References (10)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner VulnCheck
Published Feb 25, 2026
Updated Jul 14, 2026
Reserved Feb 2, 2026

CISA Vulnrichment

Updated Mar 4, 2026

NVD

Status Deferred
Modified Jul 14, 2026

Red Hat

Severity Important
Public date Feb 25, 2026
Bugzilla 2442687

ENISA EUVD

Assigner VulnCheck
Published Feb 25, 2026
Updated Jul 14, 2026

GitHub

No data