Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-25554 EUVD-2026-8694GHSA-7f98-q4h8-rf6r

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

Published Feb 25, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
OpenSIPS OpenSIPS 3.1 – < 3.6.4 3.6.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS opensips No fix yet —

References