Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/free5gc/nrf
  4. ›
  5. CVE-2025-66719

CVE-2025-66719: Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value

January 23, 2026 (updated June 5, 2026)

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.

References

  • github.com/advisories/GHSA-q7c8-gfjh-8v4p
  • github.com/free5gc/free5gc/issues/733
  • github.com/free5gc/free5gc/issues/736
  • github.com/free5gc/nrf/pull/73
  • nvd.nist.gov/vuln/detail/CVE-2025-66719

Code Behaviors & Features

Detect and mitigate CVE-2025-66719 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.1

Fixed versions

  • 1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/free5gc/nrf/CVE-2025-66719.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:16 +0000.