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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-23T00:00:00.000Z
- Modified: 2026-07-07T20:41:17.748Z
- Also known as: GHSA-q7c8-gfjh-8v4p, GO-2026-5570
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/free5gc/nrf (Go): before 1.4.1
- free5gc nrf: 1.4.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/free5gc/free5gc/issues/736> (exploit, issue-tracking, web)
- <https://github.com/free5gc/nrf/pull/73> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66719> (advisory)
- <https://github.com/free5gc/free5gc/issues/733> (web)
- <https://github.com/free5gc/nrf> (package)
- <https://github.com/advisories/GHSA-q7c8-gfjh-8v4p> (advisory)

## Sources

- CVE List: [CVE-2025-66719](https://www.cve.org/CVERecord?id=CVE-2025-66719), CVE Terms of Use, modified 2026-01-23
- GitHub Advisory Database: [GHSA-q7c8-gfjh-8v4p](https://github.com/advisories/GHSA-q7c8-gfjh-8v4p), CC-BY-4.0, modified 2026-07-07
- Go Vulnerability Database: [GO-2026-5570](https://pkg.go.dev/vuln/GO-2026-5570), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-66719](https://nvd.nist.gov/vuln/detail/CVE-2025-66719), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-66719 · Whole record: https://cve.day/CVE-2025-66719.json · Rebuilt by cve.day 2026-11-25T22:59:10.839Z
