CVE-2025-66719
CRITICAL 9.1CVSS 3.1Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value
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.
- Published
- 23 Jan 2026
- Last modified
- 7 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-q7c8-gfjh-8v4pGO-2026-5570
- Sources
- NVDJSONOSV GHSA-q7c8-gfjh-8v4pJSONOSV GO-2026-5570JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | free5gc | nrfcpe:2.3:a:free5gc:nrf:1.4.0:*:*:*:*:*:*:* |
= 1.4.0 | |
| OSV | Go | github.com/free5gc/nrf | < 1.4.1 | 1.4.1 |
References
- https://github.com/free5gc/free5gc/issues/736 · Exploit, Issue Tracking, WEB
- https://github.com/free5gc/nrf/pull/73 · Issue Tracking, Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2025-66719 · ADVISORY
- https://github.com/free5gc/free5gc/issues/733 · WEB
- https://github.com/free5gc/nrf · PACKAGE
- https://github.com/advisories/GHSA-q7c8-gfjh-8v4p · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jan 2026)