Advisory

GHSA-q7c8-gfjh-8v4p

Also known as: CVE-2025-66719, GO-2026-5570

Summary

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

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-01-23 18:31 UTC
Modified
2026-07-07 20:41 UTC

Affected packages and fixes

github.com/free5gc/nrf

Go · All systems

Affected

  • introduced 0, fixed 1.4.1 (semver)

Fixed versions

1.4.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences