Auth bypass in Free5gc Nrf
CVE-2025-66719
An issue was discovered in Free5gc NRF 1.4.0. In the access-token generation logic of free5GC, the AccessTokenScopeCheck() function in file internal/sbi/processor/access_token.go bypasses all scope validation when the attacker uses a crafted targetNF value. This allows attackers to obtain an access token with any arbitrary scope.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.004, 30.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Free5gc Nrf — versions 1.4.0
Weakness classification (CWE)
References
- github.com/free5gc/free5gc/issues/736 (Exploit, Issue Tracking)
- github.com/free5gc/nrf/pull/73 (Patch, Issue Tracking)