{"id":"CVE-2025-66719","aliases":["CVE-2025-66719","GHSA-q7c8-gfjh-8v4p","GO-2026-5570"],"related":[],"kind":"vulnerability","state":"published","title":"Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value in github.com/free5gc/nrf","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-01-23T00:00:00.000Z","modified":"2026-07-07T20:41:17.748Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.1"}],"ecosystem":"Go","package":"github.com/free5gc/nrf","purl":"pkg:golang/github.com/free5gc/nrf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.1"}],"ecosystem":"Go","package":"github.com/free5gc/nrf","purl":"pkg:golang/github.com/free5gc/nrf","source":"go"},{"ranges":[{"status":"affected","version":"1.4.0"}],"vendor":"free5gc","product":"nrf","cpe":"cpe:2.3:a:free5gc:nrf:1.4.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/free5gc/free5gc/issues/736","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/free5gc/nrf/pull/73","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66719","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/free5gc/free5gc/issues/733","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/free5gc/nrf","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-q7c8-gfjh-8v4p","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-01-23T19:23:17.121Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66719","url":"https://www.cve.org/CVERecord?id=CVE-2025-66719","licence":"CVE Terms of Use","modified":"2026-01-23T19:24:55.108Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q7c8-gfjh-8v4p","url":"https://github.com/advisories/GHSA-q7c8-gfjh-8v4p","licence":"CC-BY-4.0","modified":"2026-07-07T20:41:17.748Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5570","url":"https://pkg.go.dev/vuln/GO-2026-5570","licence":"CC-BY-4.0","modified":"2026-07-07T20:30:13.670Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66719","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66719","licence":"Public domain","modified":"2026-06-17T09:57:11.597Z"}],"updatedAt":"2026-11-25T22:59:10.839Z","epss":{"score":0.00361,"percentile":0.31889,"date":"2026-12-01T12:00:22.000Z"}}