CVE-2025-68945
Gitea ≤ 1.21.2
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NSummary
CVE-2025-68945 is a medium-severity Exposure of Private Personal Information to an Unauthorized Actor (CWE-359) vulnerability in Gitea Gitea. Its CVSS base score is 5.8 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Code Repositories (T1213.003); ranked at the 26th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-14 (Permitted Actions Without Identification or Authentication) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-205424
Vulnerability Data
In Gitea before 1.21.2, an anonymous user can visit a private user's project.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Anonymous access to private Gitea projects directly enables unauthorized collection from code repositories (T1213.003).
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
Mitigating Controls (NIST 800-53 r5) AI
Directly enforces authorization checks so that anonymous users cannot access private projects.
Limits privileges granted to unauthenticated sessions, preventing exposure of private project data.
Explicitly restricts the set of actions permitted without identification or authentication, blocking anonymous access to private resources.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
CWE-359 does not impair RC.CO-04's ability to issue approved public recovery updates, yet any resulting PII exposure can partially undermine the outcome's overall efficacy and trust.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Masking or anonymizing personal identifiers limits the amount of private personal information that can be disclosed through application outputs or logs.
Monitoring and quarantining outbound messages that contain personal or private data directly reduces the chance that such information will be disclosed to unauthorized recipients.
The explicit prohibition on copying personally identifiable information into development and test environments directly lowers the exposure of private personal data to staff or processes that should not see it.
Labeling, chain-of-custody, and access-control requirements limit the exposure of private personal information during any transfer method.
Mandating privacy procedures and a designated privacy officer helps ensure that private personal information is not disclosed without proper authorization or necessity.
The agreements impose enforceable restrictions on the handling of private personal information, thereby decreasing the risk that such data will be exposed to unauthorized parties.