GHSA-xfq3-qj7j-4565

Suggest an improvement
Source
https://github.com/advisories/GHSA-xfq3-qj7j-4565
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-xfq3-qj7j-4565/GHSA-xfq3-qj7j-4565.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xfq3-qj7j-4565
Aliases
Published
2025-12-26T03:30:15Z
Modified
2026-01-03T12:25:58.558942Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources
Details

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

Database specific
{
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-863"
    ],
    "nvd_published_at": "2025-12-26T03:15:50Z",
    "github_reviewed_at": "2025-12-26T19:12:54Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

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