{"id":"GHSA-q7c8-gfjh-8v4p","summary":"Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value","details":"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.","aliases":["CVE-2025-66719","GO-2026-5570"],"modified":"2026-07-07T20:41:40.631447586Z","published":"2026-01-23T18:31:28Z","database_specific":{"cwe_ids":["CWE-863"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-06-05T18:09:13Z","nvd_published_at":"2026-01-23T16:15:51Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66719"},{"type":"WEB","url":"https://github.com/free5gc/free5gc/issues/733"},{"type":"WEB","url":"https://github.com/free5gc/free5gc/issues/736"},{"type":"WEB","url":"https://github.com/free5gc/nrf/pull/73"},{"type":"PACKAGE","url":"https://github.com/free5gc/nrf"}],"affected":[{"package":{"name":"github.com/free5gc/nrf","ecosystem":"Go","purl":"pkg:golang/github.com/free5gc/nrf"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-q7c8-gfjh-8v4p/GHSA-q7c8-gfjh-8v4p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}