Description
free5GC is an open-source implementation of the 5G core network. In 4.2.2 and earlier, the NRF RegisterNFInstance handler at PUT /nnrf-nfm/v1/nf-instances/{nfInstanceID} accepts NF Profiles without enforcing UUID format, nfStatus enum values, heartBeatTimer ranges, mandatory profile fields, or nfServices.ipEndPoints address constraints. The invalid profiles are persisted in the MongoDB NfProfile collection and returned by NFDiscover, allowing an attacker with SBI access to advertise attacker-controlled network-function endpoints and redirect control-plane signaling. This can expose credentials and signaling, alter service discovery integrity, and deny service across network functions that trust the NRF. This issue is fixed in version 4.2.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| free5gc | free5gc | < 4.2.3 | — |
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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | govulncheck-vulndb | 0.0.20260902T191204-160000.1.1 | SUSE-SU-2026:23712-1, SUSE-SU-2026:23692-1 |
| SLES 16.0 | govulncheck-vulndb | 0.0.20260902T191204-160000.1.1 | SUSE-SU-2026:23712-1, SUSE-SU-2026:23692-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260902T191204-160000.1.1 | openSUSE-SU-2026:21812-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/free5gc/free5gc | < 4.2.2 | 4.2.2 | GHSA-x8mj-6p3q-g5pp |
| Go | github.com/free5gc/free5gc | < 4.2.2+incompatible | 4.2.2+incompatible | GO-2026-6316 |
Advisories 3
- SUSE-SU-2026:23692-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Sep 29, 2026
- SUSE-SU-2026:23712-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Sep 29, 2026
- openSUSE-SU-2026:21812-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Sep 10, 2026
References
- https://github.com/free5gc/free5gc/security/advisories/GHSA-x8mj-6p3q-g5pp
- https://github.com/free5gc/free5gc/issues/1056
- https://github.com/free5gc/nrf/pull/90
- https://github.com/free5gc/nrf/commit/bda0cf75be5556bb4c758c8b34710f3fe6bbe3ea
- https://github.com/free5gc/nrf/commit/fcd3cfaa27cc4dc17172ee0c4c3e0a3a696297c6
- https://github.com/free5gc/free5gc/releases/tag/v4.2.3
- https://github.com/free5gc/nrf/releases/tag/v1.4.5