OpenSIPS 3.1 <= 3.6.4 auth_jwt SQL Injection Enables JWT Authentication Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA OpenSIPS (OpenSIPS) Fixed in 3.6.4
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25554
- 2026-10-03 Alias added: GHSA-7f98-q4h8-rf6r
References
More OpenSIPS vulnerabilities
- TI-2026-33290 OpenSIPS: Stack Buffer Overflow in sip_to_json() Header Name Copy CVSS 3.1CRITICAL 9.8
- TI-2026-33289 OpenSIPS: Global Buffer Overflow in construct_uri CVSS 3.1CRITICAL 9.1
- TI-2026-32940 OpenSIPS: Buffer Overflow in Base64 Encode Transformation CVSS 3.1CRITICAL 9.1
- TI-2026-34055 OpenSIPS: Denial of Service in SDP bandwidth parsing via QoS SDP cloning CVSS 4.0HIGH 8.7
- TI-2026-33544 OpenSIPS: Denial of Service in watcherinfo XML generation from oversized watcher URI CVSS 4.0HIGH 8.7
- TI-2026-32931 OpenSIPS: Denial of service in presence.handle_publish() from unchecked Content-Type state CVSS 4.0HIGH 8.7
Sources
- CVE-2026-25554 · CVE Program
- CVE-2026-25554 · NVD
- FIRST EPSS
- GHSA-7f98-q4h8-rf6r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-25554 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences