{"id":"CVE-2026-25554","aliases":["CVE-2026-25554"],"related":[],"kind":"vulnerability","state":"published","title":"OpenSIPS 3.1 <= 3.6.4 auth_jwt SQL Injection Enables JWT Authentication Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones de OpenSIPS 3.1 anteriores a la 3.6.4 que contienen el módulo auth_jwt (anterior al commit 3822d33) contienen una vulnerabilidad de inyección SQL en la función jwt_db_authorize() en modules/auth_jwt/authorize.c cuando db_mode está habilitado y se utiliza un backend de base de datos SQL. La función extrae la tag claim de un JWT sin verificación de firma previa e incorpora el valor sin escapar directamente en una consulta SQL. Un atacante puede proporcionar un JWT manipulado con una tag claim maliciosa para manipular el resultado de la consulta y eludir la autenticación JWT, permitiendo la suplantación de identidades arbitrarias.","source":"nvd"}],"published":"2026-02-25T16:54:11.845Z","modified":"2026-11-08T14:01:27.090Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"3.1","fixed":"3.6.4","status":"affected"}],"vendor":"OpenSIPS","product":"OpenSIPS","repo":"https://github.com/OpenSIPS/opensips","source":"cvelist"}],"references":[{"url":"https://opensips.org/pub/opensips/3.6.4/ChangeLog","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSIPS/opensips/pull/3807","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://opensips.org/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authentication-bypass","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Pavel Kohout, Aisle Research, www.aisle.com"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-04T16:43:08.070Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-25554","url":"https://www.cve.org/CVERecord?id=CVE-2026-25554","licence":"CVE Terms of Use","modified":"2026-11-08T14:01:27.090Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-25554","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25554","licence":"Public domain","modified":"2026-07-14T16:16:53.570Z"}],"updatedAt":"2026-11-25T22:59:14.871Z","epss":{"score":0.0036,"percentile":0.31773,"date":"2026-12-02T12:00:21.000Z"}}