{"id":"CVE-2026-25554","published":"2026-02-25T16:54:11Z","modified":"2026-11-08T14:01:27Z","title":"OpenSIPS 3.1 <= 3.6.4 auth_jwt SQL Injection Enables JWT Authentication Bypass","vendor":"OpenSIPS","product":"OpenSIPS","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0036,"percentile":0.30388,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://opensips.org/pub/opensips/3.6.4/ChangeLog","tags":["release-notes"]},{"url":"https://github.com/OpenSIPS/opensips/pull/3807","tags":["issue-tracking","patch"]},{"url":"https://github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05","tags":["patch"]},{"url":"https://opensips.org/","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authentication-bypass","tags":["third-party-advisory"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":6.08},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"opensips","affectedVersions":[{"vendor":"OpenSIPS","product":"OpenSIPS","versions":[">= 3.1, < 3.6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-04T16:43:08.070958Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-8694","exploited":false,"provenance":"source"}}