Summary
CVE-2026-138050 is a SQL injection in OpenAirInterface's oai-cn5g-udr, the Unified Data Repository of its open-source 5G core. NVD published the record on November 28, 2026 with a CVSS v3.1 score of 7.3 (High). The record says an exploit has been made available publicly. NVD lists the entry as Deferred, so its analysis is not final.
Details
The flaw is in src/udr_app/database/mysql_db.cpp, part of the Nudr_DR component. Manipulating the ueId argument leads to SQL injection (CWE-74 and CWE-89), and the attack can be launched remotely.
| Item | Value |
|---|---|
| Affected versions | 2.2.0, 2.2.1, 2.2.2 |
| CVSS v3.1 | 7.3 High (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) |
| CVSS v4.0 | 5.5 Medium (exploit maturity: proof of concept) |
| Authentication | None required per the vector |
The record says the vendor was contacted early about the disclosure. It cites a public issue on the project's GitHub repository (issue 8) and does not name a fixed release.
Impact
The UDR stores subscriber data for the 5G core, and ueId identifies a user equipment record. Injection into queries that use it could let an attacker read or change subscriber records or disrupt the service. The CVSS scores limit each impact to low, and the record does not describe a specific data-exposure outcome. This software is mostly used in labs, research and private 5G networks.
What to do
- Do not expose the UDR's service interface to untrusted networks. Restrict the Nudr_DR endpoint to the 5G core's internal service network.
- Check your version. If you run oai-cn5g-udr 2.2.0 to 2.2.2, watch the project repository for a fix or patch.
- Add controls in front of the service, such as network policy and request logging, until a fix is available.
- Use a least-privilege database account for the UDR so a successful injection reaches less data.
- Review logs for unusual
ueIdvalues, such as quotes, SQL keywords or very long strings.