SQL Injection in Opensips
CVE-2026-25554
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.005 (40.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 40.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Opensips — versions 3.1
Weakness classification (CWE)
References
- opensips.org/pub/opensips/3.6.4/ChangeLog (release-notes)
- github.com/OpenSIPS/opensips/pull/3807 (issue-tracking)
- github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05 (patch)
- opensips.org/ (product)
- www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authen… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-25554?
- CVE-2026-25554 is a medium-severity vulnerability in Opensips, classified under SQL Injection. CVSS score: 6.5/10. Published 2026-02-25.
- How severe is CVE-2026-25554?
- Medium severity. CVSS v3 base score is 6.5 out of 10.