Skip to main content

free5GC SMF CVE-2026-44328

| EUVDEUVD-2026-32570 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-05-08 https://github.com/free5gc/free5gc GHSA-p9mg-74mg-cwwr
8.2
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI
8.2 HIGH

Remote unauthenticated low-complexity request (AV:N/AC:L/PR:N/UI:N); no data disclosure (C:N), low integrity from topology mutation (I:L), high availability from repeatable panic/topology denial (A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

3
Source Code Evidence Fetched
Jul 24, 2026 - 00:09 vuln.today
Analysis Generated
Jul 24, 2026 - 00:09 vuln.today
CVE Published
May 08, 2026 - 23:01 nvd
HIGH 8.2

DescriptionGitHub Advisory

Summary

free5GC's SMF mounts the UPI management route group without inbound OAuth2 middleware (same root cause as the broader UPI auth gap reported in free5gc/free5gc#887). On top of that, the DELETE /upi/v1/upNodesLinks/{upNodeRef} handler unconditionally dereferences upNode.UPF after the type-guarded async release, even though AN-typed nodes are constructed without a UPF object. As a result, a single unauthenticated DELETE /upi/v1/upNodesLinks/gNB1 request crashes the handler with a nil-pointer panic AND mutates the in-memory user-plane topology before panicking (the UpNodeDelete(upNodeRef) line runs first). This is an unauthenticated, state-mutating panic-DoS sink that an off-path network attacker can trigger by name against any AN entry.

Details

Validated against the SMF container in the official Docker compose lab.

  • Source repo tag: v4.2.1
  • Running Docker image: free5gc/smf:v4.2.1
  • Runtime SMF commit: 8385c00a
  • Docker validation date: 2026-03-22 local (container log timestamp 2026-03-21T23:43:17Z)
  • SMF endpoint: http://10.100.200.6:8000

Control comparison on the same SMF instance:

  • GET /nsmf-oam/v1/ (no token) -> 401 Unauthorized
  • DELETE /upi/v1/upNodesLinks/gNB1 (no token) -> 500 Internal Server Error (panic)

The sibling nsmf-oam returning 401 proves OAuth middleware IS wired in for other SMF route groups; the UPI group specifically is mounted without it.

Vulnerable handler logic (paths in free5gc/smf):

go
// NFs/smf/internal/sbi/api_upi.go:94..99
if upNode.Type == smf_context.UPNODE_UPF {
    go s.Processor().ReleaseAllResourcesOfUPF(upNode.UPF)
}
upi.UpNodeDelete(upNodeRef)
upNode.UPF.CancelAssociation()   // <-- panics for AN-typed nodes; nil UPF

The Type == UPNODE_UPF guard only protects the asynchronous ReleaseAllResourcesOfUPF call. After that, UpNodeDelete(upNodeRef) runs unconditionally (so the topology mutation lands first), and then upNode.UPF.CancelAssociation() is called unconditionally on a *UPF that is nil for AN nodes by construction.

Code evidence:

  • UPI group mounted WITHOUT auth middleware:
  • NFs/smf/internal/sbi/server.go:76
  • NFs/smf/internal/sbi/server.go:78
  • Protected control comparison (other SMF groups DO use auth):
  • NFs/smf/internal/sbi/server.go:99
  • NFs/smf/internal/sbi/server.go:105
  • Delete handler (panic site):
  • NFs/smf/internal/sbi/api_upi.go:94
  • NFs/smf/internal/sbi/api_upi.go:99
  • AN nodes are constructed without a UPF object (root cause of the nil deref):
  • NFs/smf/internal/context/user_plane_information.go:95
  • NFs/smf/internal/context/user_plane_information.go:97

PoC

Reproduced end-to-end against the running SMF at http://10.100.200.6:8000.

  1. Control: protected sibling OAM route returns 401:
curl -i http://10.100.200.6:8000/nsmf-oam/v1/
HTTP/1.1 401 Unauthorized
  1. Trigger: unauthenticated DELETE on the default AN node gNB1:
curl -i -X DELETE http://10.100.200.6:8000/upi/v1/upNodesLinks/gNB1
HTTP/1.1 500 Internal Server Error
  1. SMF container logs (docker logs --tail 120 smf) show topology mutation landing BEFORE the panic, and the panic stack pointing at api_upi.go:99:
[INFO][SMF][Init] UPNode [gNB1] found. Deleting it.
[INFO][SMF][Init] Delete UPLink [UPF] <=> [gNB1].
[ERRO][SMF][GIN] panic: runtime error: invalid memory address or nil pointer dereference
github.com/free5gc/smf/internal/sbi.(*Server).DeleteUpNodeLink
    /go/src/free5gc/NFs/smf/internal/sbi/api_upi.go:99 +0x298
[INFO][SMF][GIN] | 500 | DELETE | /upi/v1/upNodesLinks/gNB1

The lab state was manually restored after validation by re-creating the AN entry; that POST is restoration-only and is NOT a mitigation.

Impact

Three compounding defects on the same SMF SBI surface:

  1. Missing inbound authentication (CWE-306) and authorization (CWE-862) on the UPI route group, so the trigger is reachable to any off-path network attacker who can reach SMF on the SBI -- no token, no session, no UE state needed. The same-instance nsmf-oam returning 401 proves the middleware is wired in elsewhere and only missing on UPI.
  2. NULL pointer dereference (CWE-476) in DeleteUpNodeLink: the Type == UPNODE_UPF guard only covers the async release call, then upNode.UPF.CancelAssociation() runs unconditionally on AN-typed nodes that have a nil UPF field by construction.
  3. Order of operations (CWE-755 / CWE-754): UpNodeDelete(upNodeRef) mutates the in-memory user-plane topology BEFORE the dereference panics, so the topology change lands even though the request returns 500. This makes the bug state-mutating, not just a plain panic.

Any party that can reach SMF on the SBI can:

  • Delete arbitrary named entries (e.g. gNB1) from SMF's in-memory user-plane topology anonymously via a single DELETE /upi/v1/upNodesLinks/{ref} request, denying SMF's ability to consider that AN/UPF in subsequent UPF selection / PFCP path establishment for legitimate UE sessions.
  • Trigger a panic on the SMF goroutine for the deleted-AN case, even though Gin recovers the goroutine, leaving the topology in the mutated state above.
  • Repeat the trigger by name against any AN entry, sustaining the topology denial without ever authenticating.

This is a strict superset of the impact in free5gc/free5gc#887 for this specific code path: same auth bypass, plus a concrete request-triggerable nil deref, plus state mutation that survives the panic.

Affected: free5gc v4.2.1.

Upstream issue: https://github.com/free5gc/free5gc/issues/905 Upstream fix: https://github.com/free5gc/smf/pull/199

AnalysisAI

Unauthenticated denial-of-service and state mutation in free5GC's SMF (Session Management Function) in versions below 4.2.2 lets any off-path network attacker with SBI reachability send a single DELETE /upi/v1/upNodesLinks/{ref} request that both mutates the in-memory user-plane topology and triggers a nil-pointer panic. The UPI management route group is mounted without the OAuth2 middleware that guards sibling groups like nsmf-oam, and the DeleteUpNodeLink handler unconditionally dereferences a nil UPF field on AN-typed nodes. Publicly available exploit code exists (author-validated PoC against the official Docker lab), though EPSS is low at 0.05% and it is not in CISA KEV.

Technical ContextAI

free5GC is an open-source 5G core network implementation written in Go; the SMF manages PDU sessions and selects User Plane Functions (UPFs) over the Service Based Interface (SBI). The affected surface is the UPI (user-plane information) management route group exposed by the SMF's Gin HTTP server. The root cause class is CWE-306 (missing authentication) - the UPI group at server.go:76/78 is mounted without the inbound OAuth2 middleware wired into other groups (server.go:99/105) - compounded by CWE-476 (nil-pointer dereference) and CWE-754/755 (improper order of operations). In api_upi.go, the Type == UPNODE_UPF guard only wraps the async ReleaseAllResourcesOfUPF call; UpNodeDelete(upNodeRef) then runs unconditionally, and upNode.UPF.CancelAssociation() is invoked on a *UPF that is nil by construction for AN (access node / gNB) entries created in user_plane_information.go:95-97. CPE pkg:go/github.com_free5gc_smf identifies the affected Go module.

RemediationAI

Upstream fix available (PR/commit); the fix is free5gc/smf PR #199 and commit b57bc48081c3d3a2f333d02eb78e4fd31a120deb, which adds an upNode.UPF != nil guard before CancelAssociation. Per the intelligence sources this corresponds to the free5gc/smf Go module version 1.4.3 and the umbrella Free5GC release 4.2.2, so upgrade the SMF to smf v1.4.3 / Free5GC v4.2.2 or later (note: the code patch fixes the nil deref but verify the release also closes the underlying UPI OAuth2 gap, the same root cause as free5gc/free5gc#887). Until patched, the highest-value compensating control is network-level: restrict access to the SMF SBI (default endpoint port 8000) so only trusted 5G-core NFs can reach it - e.g. firewall/segment the SBI network and deny external DELETE to /upi/v1/upNodesLinks/*, or place a reverse proxy/API gateway that enforces OAuth2 on the UPI path - accepting the trade-off that a misconfigured allowlist could block legitimate NF traffic. Do not rely on re-creating deleted AN entries via POST as a mitigation; the advisory explicitly notes that is restoration-only. Advisory and patch URLs: https://github.com/free5gc/free5gc/security/advisories/GHSA-p9mg-74mg-cwwr and https://github.com/free5gc/smf/pull/199.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

CVE-2025-34221 CRITICAL POC
10.0 Sep 29

Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

Share

CVE-2026-44328 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy