Security Resilience

CVE-2025-68945

Gitea ≤ 1.21.2

Published
26 December 2025
Modified
13 October 2026
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.0036 29th percentile
Risk Priority 46 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS scores by FIRST (EPSS SIG), generated by Empirical Security. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-68945 is a medium-severity Exposure of Private Personal Information to an Unauthorized Actor (CWE-359) vulnerability in Gitea. Its CVSS base score is 5.8 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Cloud Storage (T1530); ranked at the 29th 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-21 (Information Sharing) and AC-3 (Access Enforcement) — 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 Techniques

T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1114 Email Collection Collection
Adversaries may target user email to collect sensitive information.
T1213 Data from Information Repositories Collection
Adversaries may leverage information repositories to mine valuable information.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-89430Same product: Gitea Gitea
CVE-2026-20912Same product: Gitea Gitea
CVE-2025-68942Same product: Gitea Gitea
CVE-2025-68946Same product: Gitea Gitea
CVE-2023-3515Same product: Gitea Gitea
CVE-2026-20904Same product: Gitea Gitea
CVE-2026-20897Same product: Gitea Gitea
CVE-2026-60004Same product: Gitea Gitea
CVE-2025-69413Same product: Gitea Gitea
CVE-2026-103059Same product: Gitea Gitea

Affected Assets

gitea
gitea
≤ 1.21.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

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

Enforces authorizations so that PII is not reachable by unauthorized actors.

Requires explicit verification that a recipient's authorizations match the sensitivity of shared PII.

Limits granted rights to the minimum needed, reducing the set of actors who can reach private data.

Documents the legal or consent basis required before any processing of PII occurs.

PT-4 Consent good match

Implements consent mechanisms that directly block access absent the individual's permission.

Encrypts or otherwise protects stored PII against unauthorized retrieval.

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.

removes
blocks

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

blocks

A.8.12's core purpose and mechanisms (monitoring channels, detecting disclosures, blocking transmissions, DLP tools that quarantine or prevent copy/paste/upload of sensitive data) directly stop unauthorized extraction/exposure of private personal information; the bounded remainder is non-technical leaks (e.g. screenshots addressed only by training/auditing, or adversary deception via honeypots)

blocks

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.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (higher-evidence rows only; rows rated `none` are excluded).

Ubuntu 22.04 (1 rule)
  • V-260531 Ubuntu 22.04 LTS must configure the SSH daemon to use FIPS 140-3-approved ciphers to prevent the unauthorized disclosure of information and/or detect changes to information during transmission. blocks CWE-359
Ubuntu 24.04 (1 rule)
  • V-270670 Ubuntu 24.04 LTS must configure the SSH client to use FIPS 140-3 approved ciphers to prevent the unauthorized disclosure of information and/or detect changes to information during transmission. blocks CWE-359

References