Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-47780 EUVD-2026-78766GHSA-6gxq-gpr8-xgjpGO-2026-5178

free5GC: UDR Improper ueId validation in free5GC EE subscription handlers allows arbitrary identifier persistence

Published Sep 15, 2026 · Updated Sep 15, 2026 · Assigned by GitHub_M

Description

free5GC is an open-source implementation of the 5G core network. In 4.2.3 and earlier, HandleCreateEeSubscriptions and HandleQueryeesubscriptions in free5gc/udr internal/sbi/api_datarepository.go validate the ueId path value with a regular expression whose final .+ alternative accepts every non-empty string instead of restricting identifiers to supported SUPI and GPSI formats. An actor with network reachability to the UDR SBI can submit a non-3GPP identifier to /nudr-dr/v2/subscription-data/{ueId}/context-data/ee-subscriptions, causing the identifier to pass validation and enter the normal create or query flow. The advisory does not independently establish whether authentication is required. Invalid identifiers can be persisted and retrieved as subscription records, enabling unauthorized data creation, UDR namespace pollution, persistent subscriber-metadata corruption, and interference with downstream components that trust stored identifiers to use valid 3GPP formats. The exposure is most relevant in lab, test, or loosely segmented service-based-interface deployments where direct UDR access is possible.

Affected products

VendorProductAffectedFixed
free5gc free5gc <= 4.2.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/free5gc/udr <= 1.4.3 — GHSA-6gxq-gpr8-xgjp
Go github.com/free5gc/udr all versions — GO-2026-5178

Advisories 1

References