The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25554

CVE-2026-25554: OpenSIPS auth_jwt SQL Injection Flaw

CVE-2026-25554 is a SQL injection vulnerability in OpenSIPS auth_jwt module versions 3.1 to 3.6.3 that enables attackers to bypass JWT authentication and impersonate users. This article covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2026-25554 Overview

CVE-2026-25554 is a SQL Injection vulnerability affecting OpenSIPS versions 3.1 before 3.6.4 in the auth_jwt module. The vulnerability exists in the jwt_db_authorize() function within 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 performing 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.

Critical Impact

Successful exploitation allows attackers to bypass JWT authentication entirely and impersonate any user identity, potentially granting unauthorized access to protected SIP communications and infrastructure.

Affected Products

  • OpenSIPS versions 3.1 through 3.6.3 (prior to 3.6.4)
  • OpenSIPS installations using the auth_jwt module with db_mode enabled
  • OpenSIPS deployments using SQL database backends for JWT authentication

Discovery Timeline

  • 2026-02-25 - CVE-2026-25554 published to NVD
  • 2026-02-25 - Last updated in NVD database

Technical Details for CVE-2026-25554

Vulnerability Analysis

This vulnerability represents a classic SQL injection flaw combined with an authentication bypass due to improper input validation sequencing. The jwt_db_authorize() function in the auth_jwt module processes JWT tokens by extracting claims before validating the JWT signature. When the db_mode configuration is enabled, the extracted tag claim is used directly in SQL queries to look up user credentials or permissions from the database backend.

The critical security flaw is twofold: first, the JWT signature is not verified before extracting and using claim values; second, the tag claim value is not properly escaped or parameterized before being concatenated into the SQL query string. This allows an attacker to craft a malicious JWT containing SQL injection payloads in the tag claim field, which are then executed against the database.

Since signature verification occurs after claim extraction and database query execution, an attacker does not need to possess a valid signing key. They can forge a JWT with any arbitrary payload, including SQL injection strings, that will be processed and executed against the backend database.

Root Cause

The root cause is missing input sanitization in the jwt_db_authorize() function. The code path extracts the tag claim from the JWT payload and directly incorporates it into a SQL query without escaping special characters or using parameterized queries. The fix, implemented in commit 3822d33c1c6b25832fdd88da1d23eed74be55b05, adds the strcommon.h header which provides string escaping functionality to properly sanitize user-controlled input before SQL query construction.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker can craft a malicious JWT with a specially constructed tag claim containing SQL injection syntax. When this JWT is submitted to an OpenSIPS server with the vulnerable auth_jwt module configured with db_mode enabled, the SQL injection payload is executed against the database. This can be used to manipulate query results to return valid authentication data for arbitrary users, effectively bypassing the JWT authentication mechanism entirely.

c
// Security patch adding proper string escaping functionality
// Source: https://github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05

 #include "../../usr_avp.h"
 #include "../../mod_fix.h"
 #include "../../mem/mem.h"
+#include "../../strcommon.h"
 #include "jwt_avps.h"
 #include "authjwt_mod.h"

The patch adds the strcommon.h include, which provides string manipulation and escaping functions to properly sanitize the tag claim value before it is used in SQL queries, preventing SQL injection attacks.

Detection Methods for CVE-2026-25554

Indicators of Compromise

  • Unusual JWT tokens in SIP authentication requests containing SQL syntax characters such as single quotes, semicolons, or SQL keywords
  • Database query errors or anomalies in OpenSIPS logs related to JWT authentication
  • Successful authentications for users without corresponding legitimate JWT issuance
  • Unexpected modifications to authentication-related database tables

Detection Strategies

  • Monitor SIP REGISTER and INVITE requests for JWT tokens containing SQL injection patterns in claim fields
  • Implement database query logging and alerting for unusual patterns in queries originating from the auth_jwt module
  • Deploy Web Application Firewall (WAF) or SIP-aware intrusion detection rules to identify SQL injection attempts in JWT payloads
  • Audit authentication logs for successful logins that cannot be correlated with legitimate JWT token issuance

Monitoring Recommendations

  • Enable verbose logging for the OpenSIPS auth_jwt module to capture all authentication attempts
  • Configure database audit logging to track queries executed by the OpenSIPS database connection
  • Implement real-time alerting for authentication anomalies such as authentication from unexpected sources
  • Review SIP signaling traffic for malformed or suspicious JWT tokens in authentication headers

How to Mitigate CVE-2026-25554

Immediate Actions Required

  • Upgrade OpenSIPS to version 3.6.4 or later immediately
  • If upgrade is not immediately possible, disable the auth_jwt module or switch to a non-SQL backend temporarily
  • Review authentication logs for any evidence of exploitation
  • Audit user accounts and permissions for unauthorized changes

Patch Information

The vulnerability is fixed in OpenSIPS version 3.6.4. The security fix is implemented in commit 3822d33c1c6b25832fdd88da1d23eed74be55b05, which adds proper string escaping for the JWT tag claim before SQL query construction. Organizations should upgrade to version 3.6.4 or apply the patch from GitHub Pull Request #3807. The complete changelog for version 3.6.4 is available at the OpenSIPS ChangeLog.

Workarounds

  • Disable the auth_jwt module if JWT authentication is not critical to operations
  • Switch to a non-SQL database backend for JWT credential storage if supported
  • Implement network-level access controls to restrict which clients can send SIP authentication requests
  • Deploy a SIP-aware firewall or proxy that can inspect and filter malicious JWT tokens
bash
# Configuration example - Disable auth_jwt module in opensips.cfg
# Comment out or remove the auth_jwt module load directive
# loadmodule "auth_jwt.so"

# Alternative: If using db_mode, switch to local mode temporarily
# modparam("auth_jwt", "db_mode", 0)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechOpensips

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Commit Reference

  • GitHub Pull Request

  • OpenSIPS Official Website

  • OpenSIPS ChangeLog 3.6.4

  • VulnCheck Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English