CVE-2025-66719: Vulnerability in Free5gc Nrf

Critical. 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, CWE-863

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.4 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-q7c8-gfjh-8v4p
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-863
Published
23 Jan 2026
Last change
17 Jun 2026
Likelihood rank
Higher than 32 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Free5gc Nrf Version 1.4.0. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/free5gc/nrf Go, Affected before 1.4.1. Fixed in 1.4.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related