# CVE-2026-25554: OpenSIPS 3.1 \<= 3.6.4 auth\_jwt SQL Injection Enables JWT Authentication Bypass

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.3
- **CVSS:** 8.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-26)
- **CWE:** CWE-89
- **Published:** 2026-02-25T16:54:11.845Z
- **Modified:** 2026-11-08T14:01:27.090Z

## Who should check

- Anyone running OpenSIPS \>= 3.1, \< 3.6.4

## 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 and fixed versions

- OpenSIPS: \>= 3.1, \< 3.6.4 (cvelist)

## Mitigation

- Upgrade OpenSIPS to 3.6.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-25554. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-25554.md
Affected: OpenSIPS >= 3.1, < 3.6.4
Fixed in: OpenSIPS 3.6.4

Steps:
1. Search this machine and project for OpenSIPS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-25554 being exploited?

There is no confirmed exploitation: CVE-2026-25554 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-25554?

High: CVSS 8.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-25554?

OpenSIPS \>= 3.1, \< 3.6.4.

### Is there a fix for CVE-2026-25554?

Yes. Fixed in OpenSIPS 3.6.4. Upgrade OpenSIPS to 3.6.4 or later.

### How do I check if I'm affected by CVE-2026-25554?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/OpenSIPS/opensips/pull/3807>
- patch: <https://github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05>
- other: <https://opensips.org/pub/opensips/3.6.4/ChangeLog>
- other: <https://opensips.org/>
- other: <https://www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authentication-bypass>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-25554>

HTML: <https://flawdb.com/CVE-2026-25554> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-25554>
