CVE-2025-66719 Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value
CriticalCVSS 9.1
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| free5gc github.com/free5gc/nrf(Go) | < 1.4.1 | 1.4.1 | Fixed |
| free5gc github.com/free5gc/nrf | = 1.4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| free5gc github.com/free5gc/nrf(Go) | < 1.4.1 | 1.4.1 |
| free5gc github.com/free5gc/nrf | = 1.4.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com exploit issue-tracking
- github.com issue-tracking patch
- github.com product
- github.com vendor-advisory