Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-66719

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-66719
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:31 UTC · Revision 1

Source evidence

CVE-2025-66719

core-osv · Original source

Published 23 Jan 2026, 00:00 UTC

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.

osv:CVE-2025-66719
Complete source record
{
  "id": "e1609e3282d3af8397852786d1937b900dcd4c1159fb9cf22626a1edf3d22b75",
  "url": "https://osv.dev/vulnerability/CVE-2025-66719",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-66719",
    "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.",
    "evidence": "osv:CVE-2025-66719",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-66719",
      "aliases": [
        "CVE-2025-66719",
        "GHSA-q7c8-gfjh-8v4p",
        "GO-2026-5570"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/free5gc/nrf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cc1ce6e68dd0be2448099307053b188fc7fbba14"
                },
                {
                  "last_affected": "cc1ce6e68dd0be2448099307053b188fc7fbba14"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:free5gc:nrf:1.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "last_affected": "1.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.0",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66719.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.239101330Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66719.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-66719",
        "https://github.com/free5gc/free5gc/issues/736",
        "https://github.com/free5gc/nrf/pull/73"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66719.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-66719",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488504,
  "published_at": "2026-01-23T00:00:00+00:00"
}