Skip to main content

free5GC NEF EUVDEUVD-2026-32578

| CVE-2026-44320 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-05-08 https://github.com/free5gc/free5gc GHSA-wqfh-gq79-j8mf
7.3
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 on network
  2. Delivery
    POST forged callback with fake bearer token
  3. Exploit
    Bypass missing auth on nnef-callback group
  4. Execution
    Supply valid guessed NotifId
  5. Persist
    Inject forged SMF event notification
  6. Impact
    Corrupt subscription state and downstream policy

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Exploitation Conditions

Exploitation requires network access to the NEF SBI listener (default lab endpoint http://<nef>:8000) and a request to the /nnef-callback/v1/notification/smf route within the nnef-callback route group; no valid credentials are needed because PR:N and the route group has no inbound auth middleware, so any arbitrary or forged bearer token is accepted. The key LIMITING factor for meaningful impact is that the callback processor looks up subscription state by NotifId, so to mutate real subscription state the attacker must guess or obtain a valid NotifId - with an invalid NotifId the handler is still reached (auth is bypassed) but returns HTTP 404. Additional limiting factors: the attacker must be able to route to the SBI network segment (typically internal in a correctly deployed 5G core), and this affects only free5GC deployments below 4.2.2.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L (base 7.3, High) reflects a trivially reachable, unauthenticated network endpoint with low-but-real impact on confidentiality, integrity and availability. Real-world risk is tempered by factors the raw score only partially captures: meaningful impact requires the attacker to guess or obtain a valid NotifId (the PoC itself returned HTTP 404 'Subscription is not found' precisely because the chosen NotifId was invalid), and the affected product is a niche open-source 5G core rather than ubiquitous enterprise software. EPSS is very low (0.04%, 11th percentile) and the CVE is NOT in CISA KEV, consistent with no observed mass exploitation. The signals are coherent rather than conflicting: high CVSS from easy reachability, low EPSS from limited deployment plus the NotifId prerequisite. No SSVC decision data was provided in the input. Net: a genuine auth-boundary defect worth patching promptly for anyone running free5GC in a reachable configuration, but not an emergency-grade internet-wide threat.

Exploit ScenarioDerived

An attacker with network reach to the NEF SBI (a compromised internal host, or an operator that inadvertently exposed the SBI) sends a POST to /nnef-callback/v1/notification/smf carrying a fabricated 'Authorization: Bearer not-a-real-token' header and an attacker-controlled JSON callback body. Because no inbound auth middleware exists, the request is deserialized and dispatched into NEF callback logic; once the attacker supplies a valid NotifId (guessed or previously observed), the forged SMF event notification is applied to real subscription state, skewing AF traffic-influence/PFD views and downstream SMF/UPF policy. A working PoC (curl one-liner) is published in the advisory, though as issued it used an invalid NotifId and returned 404.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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

Authentication bypass in free5GC's NEF (Network Exposure Function) versions below 4.2.2 lets any party with SBI network reach submit forged SMF callbacks: the nnef-callback route group is mounted with no inbound OAuth2/bearer-token middleware, so an arbitrary token such as 'Bearer not-a-real-token' passes straight into callback business logic. An attacker who can guess or obtain a valid NotifId can deliver attacker-controlled event notifications against real subscription state, corrupting AF traffic-influence/PFD-management views and downstream SMF/UPF policy decisions. Publicly available exploit code exists (vendor PoC), but there is no public exploit identified as actively used, and EPSS is very low at 0.04%.

RemediationAI

Upgrade free5GC to 4.2.2 or later, which incorporates the upstream fix (https://github.com/free5gc/nef/pull/24) that adds inbound authorization. The patch introduces a RouterAuthorizationCheck middleware and an AuthorizationCheck method on the NEF context that verifies the bearer token via oauth.VerifyOAuth against the NRF cert when OAuth2 is required, applies it to the nnef-callback group in server.go, and adds nnef-callback to the declared serviceName list in nefcfg.yaml. Patch status: Upstream fix available (PR/commit); the nef module PR is merged and the fixed free5GC release is 4.2.2 per EUVD. Until upgrade, apply compensating network controls: restrict SBI access to the callback endpoint (path /nnef-callback/v1/notification/smf) to only the SMF/producer NF source addresses via firewall or service-mesh policy, and place the NEF SBI on an isolated internal network so it is not reachable from untrusted segments. Do not rely on the runtime ServiceList to disable the route group - the finding confirms the group is reachable even when ServiceList omits it, so ServiceList changes provide no protection. Trade-off: IP/mesh allow-listing does not stop a compromised or spoofed in-segment host and must be maintained as NF topology changes. Reference the GHSA advisory (GHSA-wqfh-gq79-j8mf) for authoritative guidance.

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

free5GC is an open-source 5G core network implementation; the NEF exposes Service-Based Interface (SBI) HTTP endpoints for other Network Functions. The nnef-callback route group is the trusted ingestion point for SMF-to-NEF notifications (route /nnef-callback/v1/notification/smf). Per the code evidence, the group is registered at server.go:64 without an auth middleware, the API layer (api_callback.go:23) reads and deserializes the raw request body before any auth check, and the processor (processor/callback.go:13) then looks up subscription state by NotifId. The NEF context only implemented outbound token acquisition (GetTokenCtx) and had no inbound authorization path, despite advertising 'OAuth2 setting receive from NRF: true'. This maps to CWE-306 (Missing Authentication for a Critical Function) and the advisory's companion CWE-862 (Missing Authorization): the producer NF identity is never verified before callback content is processed. The affected package identifier is pkg:go/github.com/free5gc/nef.

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 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.6 MEDIUM

Auth bypass is unauthenticated and network-reachable (PR:N/AV:N), but mutating real state requires guessing a valid NotifId, warranting AC:H; low confidentiality/integrity/availability impact on subscription data.

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

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
Low
Availability
Low

DescriptionCVE.org

Summary

free5GC's NEF mounts the nnef-callback route group without inbound OAuth2/bearer-token authorization. A forged or arbitrary bearer token (e.g. Authorization: Bearer not-a-real-token) is enough to reach the SMF-callback handler -- the callback body is parsed and dispatched into NEF business logic instead of being rejected at the auth boundary. Same root cause as the other NEF SBI findings: the route group is mounted without any inbound auth middleware. NEF does not authenticate the producer NF identity before processing callback content; if an attacker can guess or obtain a valid NotifId, this missing auth boundary lets forged callbacks act on real subscription state. The route group is also reachable even when the runtime ServiceList does not declare it (it lists only nnef-pfdmanagement and nnef-oam).

Details

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

  • Running Docker image: free5gc/nef:v4.2.1
  • Docker validation date: 2026-03-11

NEF advertises OAuth2 setting receive from NRF: true, yet the nnef-callback route group is mounted with no inbound auth middleware. The API layer reads the raw request body and deserializes it before any auth check, then the processor looks up subscription state by NotifId.

Code evidence (paths in free5gc/nef):

  • Callback route group mounted without auth middleware: NFs/nef/internal/sbi/server.go:64
  • Callback route exposed at /notification/smf: NFs/nef/internal/sbi/api_callback.go:13
  • API layer reads raw request bytes and deserializes them before any auth check: NFs/nef/internal/sbi/api_callback.go:23
  • Processor looks up the subscription by NotifId: NFs/nef/internal/sbi/processor/callback.go:13
  • 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 against the running NEF at http://10.100.200.19:8000 using a fabricated bearer token.

Send a forged callback request:

curl -i \
  -H 'Authorization: Bearer not-a-real-token' \
  -H 'Content-Type: application/json' \
  --data '{"notifId":"forged-notif","eventNotifs":[]}' \
  http://10.100.200.19:8000/nnef-callback/v1/notification/smf

Observed output:

HTTP/1.1 404 Not Found
{"title":"Data not found","status":404,"detail":"Subscription is not found"}

The 404 is positive auth-bypass evidence: the request was parsed and dispatched into the callback business handler instead of being rejected at the auth boundary. NEF container logs (docker logs nef) confirm the callback handler was reached:

[INFO][NEF][TraffInfl] SmfNotification - NotifId[forged-notif]
[INFO][NEF][GIN] | 404 | POST | /nnef-callback/v1/notification/smf

Impact

Missing inbound authentication (CWE-306) and authorization (CWE-862) on the NEF nnef-callback SBI route group. This is the trusted ingestion point for SMF -> NEF notifications. The defect is route-group-scoped: there is no auth middleware on the group at all, so every callback endpoint inside this group inherits the missing inbound auth boundary. Severity is scored against the route group's intended capability surface (consume SMF notifications and mutate NEF / downstream subscription state), NOT against the specific PoC where the chosen NotifId happened to be invalid.

Any party that can reach NEF on the SBI can:

  • Submit forged SMF callbacks to NEF anonymously, with body content fully controlled by the attacker.
  • Reach NEF callback business logic without proving producer NF identity, so any attacker who can guess or obtain a valid NotifId can deliver forged event notifications against real subscription state -- corrupting AF traffic-influence / PFD-management subscription views and the downstream SMF/UPF policy decisions that depend on them.
  • Hit any future callback added behind this same route group anonymously, because the auth boundary does not exist for this group.

The nnef-callback 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/860 Upstream fix: https://github.com/free5gc/nef/pull/24

Executive ViewAI

Why It Matters

Free5GC's Network Exposure Function (versions 4.2.1 and earlier) contains an authentication bypass vulnerability with publicly available exploit code that allows attackers to inject forged notifications, corrupting 5G traffic policies and subscriber quality-of-service controls. This places telecommunications operators at immediate risk of unauthorized policy manipulation and service disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Prevalence
Low
niche open-source 5G core, mostly research/lab and small operator deployments
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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: 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

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