# CVE-2026-117685: Gitea public-only package token access to private OCI blobs

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-11-01T09:48:46.825Z
- Modified: 2026-11-06T16:17:50.650Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Gitea

## Description

The OCI registry's cross-repository blob mount checked the target package against the token's `public-only` restriction, but checked the source blob only against the full account permissions of the token owner. A `public-only` token with `write:package` scope, whose owner can read a private package and write to a public package namespace, could mount a blob of the private package into the public package. The private blob, such as a container layer, could then be downloaded by anyone through the public package.

(As written by CVE List.)

## Affected

- gitea.dev: before 28.3.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-8g99-g36h-5p2w> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/39690> (patch)
- <https://github.com/go-gitea/gitea/pull/39853> (patch)
- <https://blog.gitea.com/release-of-28.3.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.3.0> (release-notes)

## Sources

- CVE List: [CVE-2026-117685](https://www.cve.org/CVERecord?id=CVE-2026-117685), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-117685](https://nvd.nist.gov/vuln/detail/CVE-2026-117685), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-117685 · Whole record: https://cve.day/CVE-2026-117685.json · Rebuilt by cve.day 2026-11-25T22:59:48.094Z
