CVE-2025-66719
JSON

9.1critical

Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.36% (higher than 31% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-q7c8-gfjh-8v4pGO-2026-5570

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
github.com/free5gc/nrf (Go)before 1.4.1GitHub Advisory Database, Go Vulnerability Database
free5gc nrf1.4.0NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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 Vulnerability Database

Free5gc NRF is vulnerable to scope validation bypass via maliciously crafted targetNF value in github.com/free5gc/nrf

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66719 changed 2026-01-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-q7c8-gfjh-8v4p changed 2026-07-07CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5570 changed 2026-07-07CC-BY-4.0
NVDCVE-2025-66719 changed 2026-06-17Public domain