Quick answers
- Is CVE-2026-25554 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-25554 being exploited in the wild.
- How severe is CVE-2026-25554?
- Medium severity, with a CVSS score of 6.5, published 25 February 2026.
- Which products and versions are affected?
- OpenSIPS 3.1 before 3.6.4.
- Is there a fix for CVE-2026-25554?
- A patch was published on 2026-02-02: Fix merged into master branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-25554 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-25554?
- Check whether you run OpenSIPS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A SQL injection vulnerability exists in the jwt_db_authorize() function within modules/auth_jwt/authorize.c of OpenSIPS. When db_mode is enabled, the application extracts the 'tag' claim from a JSON Web Token (JWT) without prior signature verification and interpolates the unescaped value directly into a SQL query. An attacker can exploit this by crafting a JWT with a malicious SQL payload in the tag claim (e.g., using a UNION SELECT statement) to inject a known secret into the query result. Because OpenSIPS uses the result of this query to verify the JWT's signature, the attacker can then sign the token with their own secret to successfully bypass authentication. This vulnerability is addressed in OpenSIPS version 3.6.4 and commit 3822d33.
Affected products
- OpenSIPS OpenSIPS 3.1 before 3.6.4
Timeline
- 2026-02-02: patched: Fix merged into master branch
- 2026-02-18: advisory: OpenSIPS 3.6.4 released with fix
- 2026-02-25: disclosed: NVD publication date
References
- https://github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05
- https://github.com/OpenSIPS/opensips/pull/3807
- https://opensips.org/
- https://opensips.org/pub/opensips/3.6.4/ChangeLog
- https://www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authentication-bypass