free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, PCF Npcf_SMPolicyControl missing authentication middleware allows unauthenticated access to SM policy handlers and disclosure of subscriber SUPI. In NewServer(), the smPolicyGroup route group is created and routes are applied without attaching the router authorization middleware. In contrast, other PCF service groups such as Npcf_PolicyAuthorization do attach RouterAuthorizationCheck before route registration. Because the middleware is missing, requests to the /npcf-smpolicycontrol/v1/sm-policies, /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}, /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/update, and /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/delete endpoints can reach business logic even when no valid OAuth token is provided. This vulnerability is fixed in 4.2.2.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6rgm-gr97-x3j5 Issue Tracking, Vendor Advisory
- https://github.com/free5gc/pcf/commit/8c4d457cdf58bb239ee30e88c56b370b22073964 Patch
- https://github.com/free5gc/pcf/pull/63 Issue Tracking, Patch
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6rgm-gr97-x3j5 Issue Tracking, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.2 · free5gcNVD modified 2026-10-14 20:10
Affected (CPE criteria) 1
cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*
References 6
- https://github.com/free5gc/free5gc/issues/844 Exploit, Issue Tracking
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6rgm-gr97-x3j5 Issue Tracking, Vendor Advisory
- https://github.com/free5gc/pcf/commit/8c4d457cdf58bb239ee30e88c56b370b22073964 Patch
- https://github.com/free5gc/pcf/pull/63 Issue Tracking, Patch
- https://github.com/free5gc/free5gc/issues/844 Exploit, Issue Tracking
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6rgm-gr97-x3j5 Issue Tracking, Vendor Advisory