{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68941","id":"CVE-2025-68941","title":"Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources","description":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.","descriptionLong":"Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.","published":"2025-12-26T02:31:59.031Z","updated":"2026-10-28T02:31:14.681826439Z","reserved":"2025-12-26T02:31:58.775Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},"metrics":[{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"mitre.org"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["Gitea"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea","defaultStatus":"unaffected","versions":[{"lessThan":"1.22.3","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.22.3"],"fixed":["1.22.3"],"advisory":"GHSA-xfq3-qj7j-4565"}],"cwes":["CWE-863"],"aliases":["BIT-gitea-2025-68941","GHSA-xfq3-qj7j-4565","GO-2025-4268"],"references":[{"url":"https://blog.gitea.com/release-of-1.22.3/","tags":["Release Notes","article"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.3","tags":["Release Notes","web"]},{"url":"https://github.com/go-gitea/gitea/pull/32218","tags":["Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68941.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68941","tags":["advisory"]},{"url":"https://blog.gitea.com/release-of-1.22.3","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-xfq3-qj7j-4565","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00261,"epssPercentile":0.18155,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68941","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68941","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68941","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xfq3-qj7j-4565","ok":true,"note":"GHSA-xfq3-qj7j-4565"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68941","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}