Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.3

OpenSIPS 3.1 before 3.6.4: Impersonation via Malicious JWT

CVE-2026-25554
Summary

Old versions of OpenSIPS with the auth_jwt module enabled can be tricked into accepting and using fake identities. This can happen if an attacker creates a fake JWT (a digital token) with a malicious claim that can manipulate database queries. To fix this, update OpenSIPS to version 3.6.4 or later.

Original title
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 ...
Original 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.
nvd CVSS3.1 6.5
nvd CVSS4.0 8.3
Vulnerability type
CWE-89 SQL Injection
Published: 25 Feb 2026 · Updated: 14 Mar 2026 · First seen: 6 Mar 2026