GitHub Advisoryadvisory · Go
GHSA-q7c8-gfjh-8v4p Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value
CRITICAL
Official page ↗
- Aliases
- CVE-2025-66719
- Ecosystem
- Go
- Packages
- github.com/free5gc/nrf
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-863
- Reviewed
- 2026-06-05
Affected packages
• Go github.com/free5gc/nrf: < 1.4.1 → fixed in 1.4.1
Description
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.
Related
Alias · CVE (1)
- CVE-2025-66719 An issue was discovered in Free5gc NRF 1.4.0. vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness