CVE-2026-138050

OpenAirInterface oai-cn5g-udr Nudr_DR mysql_db.cpp sql injection

Published Nov 28, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
A weakness has been identified in OpenAirInterface oai-cn5g-udr up to 2.2.2. This vulnerability affects unknown code of the file src/udr_app/database/mysql_db.cpp of the component Nudr_DR. Executing a manipulation of the argument ueId can lead to sql injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.

Analysis

AI-generated

Technical impact

A flaw in the Nudr_DR component of OpenAirInterface oai-cn5g-udr’s mysql_db.cpp allows an attacker to manipulate the ueId argument and inject arbitrary SQL into the underlying MySQL database. The injection can read, modify, or delete data that the UDR stores, thereby compromising the confidentiality, integrity, and availability of subscriber information. The vulnerability is remotely exploitable, meaning an attacker can trigger it without local access.

Affected Systems

The vulnerability is present in all OpenAirInterface oai-cn5g-udr releases up to and including 2.2.2. Systems running any of these affected releases, particularly those with network exposure, are at risk. No later releases are listed as affected, suggesting that a fix may exist in more recent versions.

Risk and Exploitability

The CVSS score of 6.9 indicates medium severity and shows that the attack vector is remote over the internet. EPSS data is not available and the flaw is not catalogued in the CISA KEV list. Nevertheless, public exploit code is available, so the risk is moderate for exposed deployments. Attackers can potentially compromise database contents if the patch is not applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenAirInterface oai-cn5g-udr to a version that contains the fix for this SQL injection, such as any release newer than 2.2.2.
  • If an upgrade cannot be performed immediately, modify the mysql_db.cpp implementation to use parameterized queries or prepared statements for any SQL command that incorporates the ueId value, ensuring proper input sanitization.
  • Restrict network access to the UDR service with firewall rules and continuously monitor database logs for anomalous query activity.

Generated by OpenCVE AI on November 28, 2026 at 14:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A weakness has been identified in OpenAirInterface oai-cn5g-udr up to 2.2.2. This vulnerability affects unknown code of the file src/udr_app/database/mysql_db.cpp of the component Nudr_DR. Executing a manipulation of the argument ueId can lead to sql injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.
Title OpenAirInterface oai-cn5g-udr Nudr_DR mysql_db.cpp sql injection
First Time appeared Openairinterface
Openairinterface oai-cn5g-udr
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:openairinterface:oai-cn5g-udr:*:*:*:*:*:*:*:*
Vendors & Products Openairinterface
Openairinterface oai-cn5g-udr
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 28, 2026, 1:15 PM
Reserved
Nov 27, 2026, 6:14 PM
Status
Deferred
Published
Nov 28, 2026, 2:17 PM
Modified
Nov 28, 2026, 2:17 PM