Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication.
Attack Parameters
Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed
Impact Assessment
Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption
CVSS Vector v3.1
Weakness Type (CWE)
References 4
https://blog.gitea.com/release-of-1.26.2/
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/pull/37503
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/releases/tag/v1.26.2
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/security/advisories/GHSA-9r5x-wg6m-x2rc
88ee5874-cf24-4952-aea0-31affedb7ff2