CVE-2026-25554
MEDIUMOpenSIPS 3.1-3.6.3 - SQL Injection via Unverified JWT Tag Claim in auth_jwt Module
Title source: llmDescription
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.
References (5)
Core 5
Core References
Various Sources release-notes
https://opensips.org/pub/opensips/3.6.4/ChangeLog
Issue Tracking issue-tracking
https://github.com/OpenSIPS/opensips/pull/3807
Various Sources product
https://opensips.org/
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authentication-bypass
Scores
CVSS v3
6.5
EPSS
0.0010
EPSS Percentile
27.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (1)
OpenSIPS/OpenSIPS
3.1 - 3.6.4
Published
Feb 25, 2026
Tracked Since
Feb 26, 2026