Security Resilience

CVE-2025-68943

Gitea ≤ 1.21.8

Published
26 December 2025
Modified
13 October 2026
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.0036 29th percentile
Risk Priority 44 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-68943 is a medium-severity Exposure of Sensitive System Information to an Unauthorized Control Sphere (CWE-497) vulnerability in Gitea. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Discovery (T1087); 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-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 Techniques

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.
T1518 Software Discovery Discovery
Adversaries may attempt to get a listing of software and software versions that are installed on a system or in a cloud environment.
T1592 Gather Victim Host Information Reconnaissance
Adversaries may gather information about the victim's hosts that can be used during targeting.
T1040 Network Sniffing Credential Access
Adversaries may passively sniff network traffic to capture information about an environment, including authentication material passed over the network.
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-68946Same product: Gitea Gitea
CVE-2025-68942Same product: Gitea Gitea
CVE-2023-3515Same product: Gitea Gitea
CVE-2026-103059Same product: Gitea Gitea
CVE-2026-60004Same product: Gitea Gitea
CVE-2026-20897Same product: Gitea Gitea
CVE-2026-20904Same product: Gitea Gitea
CVE-2025-69413Same product: Gitea Gitea

Affected Assets

gitea
gitea
≤ 1.21.8

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

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

Enforces approved authorizations for logical access, directly stopping unauthorized actors from reaching sensitive system information.

Enforces information flow policies that block sensitive system data from crossing into unauthorized control spheres.

Limits privileges so that only the minimum necessary access is granted, reducing the chance of exposing system-level details.

Controls communications at external and key internal boundaries to keep sensitive system information inside authorized spheres.

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
blocks

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

PR.IR-01 mostly match
blocks

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

PR.PS-06 partial match
blocks

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.

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).

Oracle Linux 8 (2 rules)
  • V-248551 A sticky bit must be set on all OL 8 public directories to prevent unauthorized and unintended information transferred via shared system resources. blocks CWE-497
  • V-248580 OL 8 must prevent kernel profiling by unprivileged users. blocks CWE-497
RHEL 8 (1 rule)
  • V-230270 RHEL 8 must prevent kernel profiling by unprivileged users. blocks CWE-497
Ubuntu 22.04 (1 rule)
  • V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. blocks CWE-497
Ubuntu 24.04 (1 rule)
  • V-270675 Ubuntu 24.04 LTS when booted must require authentication upon booting into single-user and maintenance modes. blocks CWE-497

References