Cyber Resilience

CVE-2025-68945

Gitea ≤ 1.21.2

Published
26 December 2025
Modified
31 December 2025
Patch / advisory
CVSS Score v3.1 5.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS Score 0.0033 26th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

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

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

T1213.003 Code Repositories Collection
Adversaries may leverage code repositories to collect valuable information.
Why these techniques?

Anonymous access to private Gitea projects directly enables unauthorized collection from code repositories (T1213.003).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-68942Same product: Gitea Gitea
CVE-2025-68944Same product: Gitea Gitea
CVE-2026-20897Same product: Gitea Gitea
CVE-2026-20800Same product: Gitea Gitea
CVE-2019-11229Same product: Gitea Gitea
CVE-2025-68941Same product: Gitea Gitea
CVE-2026-20912Same product: Gitea Gitea
CVE-2026-20736Same product: Gitea Gitea
CVE-2026-20883Same product: Gitea Gitea
CVE-2025-68938Same product: Gitea Gitea

Affected Assets

gitea
gitea
≤ 1.21.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
  • AC-14 Permitted Actions Without Identification or Authentication
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V10.3.5
  • V10.7.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly enforces authorization checks so that anonymous users cannot access private projects.

prevent

Limits privileges granted to unauthenticated sessions, preventing exposure of private project data.

prevent

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.

RC.CO-04 partial match
degrades

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.

prevents

Masking or anonymizing personal identifiers limits the amount of private personal information that can be disclosed through application outputs or logs.

prevents

Monitoring and quarantining outbound messages that contain personal or private data directly reduces the chance that such information will be disclosed to unauthorized recipients.

prevents

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.

mitigates

Labeling, chain-of-custody, and access-control requirements limit the exposure of private personal information during any transfer method.

prevents

Mandating privacy procedures and a designated privacy officer helps ensure that private personal information is not disclosed without proper authorization or necessity.

mitigates

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.

References