CVE-2026-25554

Source
https://cve.org/CVERecord?id=CVE-2026-25554
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25554.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-25554
Published
2026-02-25T16:54:11.845Z
Modified
2026-08-12T09:29:40.211841Z
Severity
  • 8.3 (High) CVSS_V4 - 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 Calculator
Summary
OpenSIPS 3.1 <= 3.6.4 auth_jwt SQL Injection Enables JWT Authentication Bypass
Details

OpenSIPS versions 3.1 before 3.6.4 containing the authjwt module (prior to commit 3822d33) contain a SQL injection vulnerability in the jwtdbauthorize() function in modules/authjwt/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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25554.json",
    "cwe_ids": [
        "CWE-89"
    ],
    "cna_assigner": "VulnCheck"
}
References

Affected packages

Git / github.com/opensips/opensips

Affected ranges

Type
GIT
Repo
https://github.com/opensips/opensips
Events
Database specific
Show details
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.1"
        },
        {
            "fixed": "3.6.4"
        }
    ]
}

Database specific

vanir_signatures
[
    {
        "id": "CVE-2026-25554-3897cb0a",
        "target": {
            "file": "modules/auth_jwt/authorize.c"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "78101614203459480529403337418902407056",
                "102319332738492448463919102042223060891",
                "52907280310805016979564471421018966554",
                "149910951557791198439169948466501926330",
                "104563185497889765062119864739244630464",
                "311621968327641248618712719192684977883",
                "216091442876333318595135198681984797562",
                "293718913230172323595973942299859317861",
                "73408486204413253667817718754350822779",
                "314253767360744617079709853668124157042",
                "260356464502525214173907132490372476876",
                "35790631418735746970858757954512788320",
                "156077533617645975374780769441416108953",
                "32599162646421885250953157184719303331",
                "294278510469129187987372743326614525783",
                "217568550749364409669775450399449219214",
                "74324575998797169939427912992005575797",
                "253514004039073508634609791744993159965",
                "325667233045641622792776717826656528762",
                "70365281334577459671828510155128419528",
                "139039736357107671337145660518272792383",
                "5358951753337218650900315039053426901",
                "202675061219130691895141306473948275572",
                "159707165905016840141736655572666574282",
                "324855910841244746811111871422394008385",
                "69387538469151401814567450709327513049",
                "155289679256226658981602761137539998504",
                "337144336384510319510181686657831280971",
                "92601107541447900962949901650065537275"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/opensips/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2026-25554-be85e94f",
        "target": {
            "function": "jwt_db_authorize",
            "file": "modules/auth_jwt/authorize.c"
        },
        "deprecated": false,
        "digest": {
            "function_hash": "310134654233892968039696610562239348154",
            "length": 5240.0
        },
        "signature_version": "v1",
        "source": "https://github.com/opensips/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05",
        "signature_type": "Function"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25554.json"
vanir_signatures_modified
"2026-08-12T09:29:40Z"