CVE-2026-42083
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.
Weakness
- CWE-862: Missing Authorization
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-05-27 |
Timeline
- 2026-05-07GitHub advisory published (GHSA-6rgm-gr97-x3j5)20 days before publication
- 2026-05-27Published by the CNA15:56 UTC
- 2026-05-27CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-6rgm-gr97-x3j5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/free5gc/pcf | before 1.4.3 | 1.4.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| free5gc free5gc | before 4.2.2fixed in 4.2.2 | 4.2.2 |
References
- https://github.com/free5gc/pcf/commit/8c4d457cdf58bb239ee30e88c56b370b22073964
- https://github.com/free5gc/pcf/pull/63
- https://github.com/free5gc/free5gc/security/advisories/GHSA-6rgm-gr97-x3j5
- https://github.com/free5gc/free5gc/issues/844
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42083'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42083'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42083'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42083'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).