CVE-2026-42083 free5GC: PCF Npcf_SMPolicyControl missing authentication middleware allows unauthenticated access to SM policy handlers and disclosure of subscriber SUPI
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| free5gc | < 4.2.2; = < 4.2.2 | 4.2.2 | Fixed |
| free5gc pcf(Go) | < 1.4.3 | 1.4.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| free5gc | = < 4.2.2 | No fix listed |
| free5gc pcf(Go) | < 1.4.3 | 1.4.3 |
| free5gc | < 4.2.2 | 4.2.2 |
References
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6rgm-gr97-x3j5 exploit issue-tracking vendor-advisory
- https://github.com/free5gc/free5gc/issues/844 exploit issue-tracking
- https://github.com/free5gc/pcf/pull/63 issue-tracking patch
- https://github.com/free5gc/pcf/commit/8c4d457cdf58bb239ee30e88c56b370b22073964 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com