NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-66719: Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value

criticalCVSS 3.1 9.1GHSA-q7c8-gfjh-8v4p

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/accesstoken.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.

Published Jan 23, 2026 · Updated Jun 5, 2026

Affected packages

github.com/free5gc/nrf

Ecosystem
Go
Affected
< 1.4.1
Fixed in
1.4.1
Check
go list -m github.com/free5gc/nrf

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to p0sql.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology