{"id":"CVE-2025-66719","aliases":["GHSA-q7c8-gfjh-8v4p","GO-2026-5570"],"title":"Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value","summary":"Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","vendor":"free5gc","product":"github.com/free5gc/nrf","ecosystem":"go","affected":["github.com/free5gc/nrf < 1.4.1"],"patched":["github.com/free5gc/nrf 1.4.1"],"published":"2026-01-23","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-q7c8-gfjh-8v4p","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66719"},{"url":"https://github.com/free5gc/free5gc/issues/733"},{"url":"https://github.com/free5gc/free5gc/issues/736"},{"url":"https://github.com/free5gc/nrf/pull/73"},{"url":"https://github.com/free5gc/nrf"}],"tags":["osv","go"],"epss":0.00353,"epssPercentile":0.28996,"ingestedAt":"2026-07-09T18:56:36.693Z","slug":"CVE-2025-66719","body":"## Overview\n\nAn 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.\n\n## Affected packages\n\n- `github.com/free5gc/nrf < 1.4.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `github.com/free5gc/nrf 1.4.1`","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}