Network Infrastructure
CVE-2026-42083 high CVSS 8.2

Free5GC PCF: Missing authentication middleware in Npcf_SMPolicyControl allows access to SM policy handlers and disclosure of subscriber SUPI

Summary

Free5GC PCF: Missing authentication middleware in Npcf_SMPolicyControl allows access to SM policy handlers and disclosure of subscriber SUPI

Original description

The description as published by the source.

Summary

PCF Npcf_SMPolicyControl missing authentication middleware allows unauthenticated access to SM policy handlers and disclosure of subscriber SUPI

Details

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 following endpoints can reach business logic even when no valid OAuth token is provided:

  • POST /npcf-smpolicycontrol/v1/sm-policies
  • GET /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}
  • POST /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/update
  • POST /npcf-smpolicycontrol/v1/sm-policies/{smPolicyId}/delete

This is visible at runtime because unauthenticated requests return business-level responses such as 400 or 404 instead of being rejected with 401 before handler execution. Under valid lab preconditions (existing UE/session context and related policy data), unauthenticated POST /sm-policies can succeed with 201, and unauthenticated GET /sm-policies/{id} can succeed with 200 and return policy context containing subscriber identifiers including supi.

The root cause is missing router auth enforcement for Npcf_SMPolicyControl.
Upstream also fixed this by adding RouterAuthorizationCheck to smPolicyGroup (and uePolicyGroup) in free5gc/pcf PR #63.

#…

Source: NIST National Vulnerability Database NVD GitHub Advisory

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

free5GCは、5Gコアネットワークのオープンソース実装です。バージョン4.2.2より前では、PCF Npcf_SMPolicyControlの認証ミドルウェアが欠如しているため、認証されないアクセスが可能で、加入者のSUPIが漏洩する可能性があります。この脆弱性はバージョン4.2.2で修正されています。

❓ What is the problem

PCF Npcf_SMPolicyControlの認証ミドルウェアが欠如しているため、認証されていないアクセスが可能でSUPIの漏洩につながる。

📍 Affected scope

free5GCのPCF Npcf_SMPolicyControl、バージョン4.2.2より前。

🔥 Severity

未認証アクセスが可能であり、加入者データが漏洩する可能性がある。

🔧 How to fix

バージョン4.2.2にアップデートする。

🛡️ Workaround

情報なし

🔍 Detection

RouterAuthorizationCheckミドルウェアが適用されていないことを確認する。

Affected packages

go github.com/free5gc/pcf
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.3"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details