CVE-2025-68941: Medium severity gitea vulnerability

Published Dec 26, 2025
·
Updated

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

Affected Software

3 affected componentsFixes available
gitea<1.22.3
go/code.gitea.io/gitea<1.22.3
1.22.3
Gitea Gitea<1.22.3

Event History

Dec 26, 2025
CVE Published
via MITRE·02:31 AM
Data Sourced
via MITRE·02:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:30 AM
Data Sourced
via GitHub·03:30 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-68941?

CVE-2025-68941 has been assigned a medium severity rating due to the potential for unauthorized access to private resources.

2

How do I fix CVE-2025-68941?

To fix CVE-2025-68941, upgrade Gitea to version 1.22.3 or later immediately.

3

What does CVE-2025-68941 affect?

CVE-2025-68941 affects versions of Gitea prior to 1.22.3, specifically concerning access controls for API tokens.

4

Is CVE-2025-68941 a risk for all Gitea users?

Yes, CVE-2025-68941 poses a risk to all Gitea users operating versions below 1.22.3.

5

Are there any workarounds for CVE-2025-68941 before upgrading?

No specific workarounds are recommended for CVE-2025-68941; upgrading to the patched version is the only solution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203