9.1critical
Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value
- Severity
- 9.1critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-q7c8-gfjh-8v4pGO-2026-5570
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/free5gc/nrf (Go) | before 1.4.1 | GitHub Advisory Database, Go Vulnerability Database |
| free5gc nrf | 1.4.0 | NVD |
All scores
| CISA-ADP | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
Go Vulnerability Database
Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value in github.com/free5gc/nrf
NVD (es)
Se descubrió un problema en Free5gc NRF 1.4.0. En la lógica de generación de tokens de acceso de free5GC, la función AccessTokenScopeCheck() en el archivo internal/sbi/processor/access_token.go omite toda la validación de alcance cuando el atacante utiliza un valor targetNF manipulado. Esto permite a los atacantes obtener un token de acceso con cualquier alcance arbitrario.
References
| https://github.com/free5gc/free5gc/issues/736 | exploit, issue-tracking, web | |
| https://github.com/free5gc/nrf/pull/73 | fix, issue-tracking, patch, web | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66719 changed 2026-01-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q7c8-gfjh-8v4p changed 2026-07-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5570 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-66719 changed 2026-06-17 | Public domain |