# CVE-2023-49946: In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checke…

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `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.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2023-12-03T00:00:00.000Z
- Modified: 2026-06-17T06:36:45.147Z
- Weaknesses: CWE-732
- Assigned by: mitre

## Description

In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a repository for which permissions are being checked. This allows remote attackers to read private issues, read private pull requests, delete issues, and perform other unauthorized actions.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- forgejo forgejo: before 1.20.5-1

## References

- <https://forgejo.org/2023-11-release-v1-20-5-1/> (release-notes, vendor-advisory)
- <https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md> (release-notes, vendor-advisory)
- <https://about.gitea.com/security> (not-applicable)
- <https://github.com/gogs/gogs/security> (not-applicable)

## Sources

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

---

Page: https://cve.day/CVE-2023-49946 · Whole record: https://cve.day/CVE-2023-49946.json · Rebuilt by cve.day 2026-11-25T22:58:30.875Z
