What’s Vulnerable › Vulnerabilities
CVE-2023-49946
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-12-03 · updated 2026-06-17
- Weakness: CWE-732
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.
Affected products
- Forgejo: before 1.20.5-1 — fixed in 1.20.5-1
How to fix
Upgrade to a fixed version: Forgejo 1.20.5-1. Check the vendor advisory for mitigations.
References
- https://about.gitea.com/security
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md
- https://forgejo.org/2023-11-release-v1-20-5-1/
- https://github.com/gogs/gogs/security
- https://about.gitea.com/security
- https://codeberg.org/forgejo/forgejo/src/branch/forgejo/RELEASE-NOTES.md
- https://forgejo.org/2023-11-release-v1-20-5-1/
- https://github.com/gogs/gogs/security
Get alerted when CVE-2023-49946 or the next vulnerability affects your stack