Cyber Resilience

CVE-2025-68943

Gitea ≤ 1.21.8

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

Summary

CVE-2025-68943 is a medium-severity Exposure of Sensitive System Information to an Unauthorized Control Sphere (CWE-497) vulnerability in Gitea Gitea. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Discovery (T1087); 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-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Gitea before 1.21.8 inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
Why these techniques?

Information disclosure of user login timestamps directly enables account discovery (T1087) via unauthorized enumeration of account activity metadata.

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

CVEs Like This One

CVE-2025-69413Same product: Gitea Gitea
CVE-2026-20800Same product: Gitea Gitea
CVE-2026-20888Same product: Gitea Gitea
CVE-2026-0798Same product: Gitea Gitea
CVE-2025-68940Same product: Gitea Gitea
CVE-2025-68944Same product: Gitea Gitea
CVE-2026-20897Same product: Gitea Gitea
CVE-2025-68941Same product: Gitea Gitea
CVE-2026-20736Same product: Gitea Gitea
CVE-2025-68938Same product: Gitea Gitea

Affected Assets

gitea
gitea
≤ 1.21.8

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-3 Access Enforcement
  • AC-4 Information Flow Enforcement
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V14.1.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Enforces access control policies so that login timestamps cannot be retrieved or sorted by unauthorized actors via explore/users.

prevent

Controls information flows to block exposure of sensitive user activity data (lastlogintime) through application features.

prevent

Restricts privileges so that only users with an explicit need can obtain or query other users' login timestamps.

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.

PR.AA-05 mostly match
prevents

Enforcing least-privilege access permissions directly prevents unauthorized actors from reaching sensitive system information.

PR.IR-01 mostly match
prevents

Protecting environments from unauthorized logical access stops exposure of internal system details to outsiders.

PR.PS-06 partial match
prevents

Secure-development practices reduce the chance of code paths that leak sensitive system information.

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.

none

Keeping internal maps, directories, and signage from public view prevents disclosure of system or facility details that could aid reconnaissance or targeted attacks.

References