GHSA-q7c8-gfjh-8v4p

Suggest an improvement
Source
https://github.com/advisories/GHSA-q7c8-gfjh-8v4p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-q7c8-gfjh-8v4p/GHSA-q7c8-gfjh-8v4p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q7c8-gfjh-8v4p
Aliases
Published
2026-01-23T18:31:28Z
Modified
2026-07-07T20:41:17Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-05T18:09:13Z",
    "nvd_published_at":  "2026-01-23T16:15:51Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/free5gc/nrf

Package

Name
github.com/free5gc/nrf
View open source insights on deps.dev
Purl
pkg:golang/github.com/free5gc/nrf

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-q7c8-gfjh-8v4p/GHSA-q7c8-gfjh-8v4p.json"