Forgejo CVE-2025-68971
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or obtain Forgejo account
-
DeliveryAuthenticate to target instance
-
ExploitNavigate to issue or release attachment upload
-
ExecutionUpload multi-gigabyte file repeatedly
-
PersistExhaust server disk space
-
ImpactInstance unavailable to all users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated session on the target Forgejo instance (PR:L per CVSS). The attacker must have access to create issue comments or release assets - the default capability for all registered users. Instances with open public registration are at greatest risk, as any registrant can immediately exploit this without additional privilege escalation. The vulnerability is in the default attachment upload functionality with no special non-default configuration required. Limiting factors include: instances with closed or invite-only registration significantly reduce exposure; deployment on infrastructure with strict disk quotas per service may reduce blast radius; and the attack is not stealthy - large upload activity would be visible in access logs and disk monitoring. |
| Impact | The CVSS 3.1 score of 6.5 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H correctly captures the threat: network-exploitable with low complexity, but requiring an authenticated account (PR:L), which meaningfully limits exposure on instances that restrict registration. The High availability impact (A:H) reflects that disk exhaustion affects all users of a shared instance. EPSS at 0.02% (4th percentile) and absence from CISA KEV indicate no observed widespread exploitation. No public POC has been identified. For instances with open registration or untrusted authenticated users, this is a realistic operational risk requiring compensating controls. For internally-restricted deployments with trusted user populations, the practical risk is low despite the medium CVSS. There is no conflicting data between signals - all sources align on a low-exploitation-probability, moderate-severity DoS. |
| Exploit ScenarioDerived | An attacker with a valid Forgejo account - obtainable via open registration on public instances - navigates to any issue or release on the platform and uploads one or more multi-gigabyte files as attachments through the standard web interface. Repeated uploads fill available disk partitions, causing the Forgejo service and potentially the host OS to become unresponsive or crash, denying service to all other users of the instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 24, 2026
Denial of service in Forgejo through 13.0.3 allows any authenticated user to exhaust server resources by uploading multi-gigabyte file attachments to issues or releases. The attachment component imposes no meaningful size restriction, enabling resource exhaustion via disk space consumption. No active exploitation has been identified and no confirmed patch version is available in referenced data; EPSS sits at the 4th percentile, suggesting negligible observed exploitation pressure.
Earlier versions of this analysis (1)
RemediationAI
No vendor-released patch version has been independently confirmed in the available reference data at time of analysis - the CVE description covers all Forgejo releases through 13.0.3. Consumers should monitor the upstream repository at https://codeberg.org/forgejo/forgejo and the Zenodo records (https://zenodo.org/records/18945481, https://zenodo.org/records/19058493) for patch availability. As an immediate compensating control, administrators should configure their reverse proxy to cap upload body size - for nginx, set client_max_body_size to a reasonable limit (e.g., 100m); for Apache, use LimitRequestBody. This prevents abuse but may require tuning if legitimate large release binaries are expected, as it imposes a hard cap on all uploads. Additionally, disabling open registration and restricting attachment permissions to trusted users reduces the attack surface without affecting normal operations.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Forgejo is a self-hosted Git forge and a community-driven fork of Gitea, providing repository hosting, issue tracking, and release management. The affected component is the file attachment upload handler, which accepts arbitrarily large files when users attach assets to issues or release packages. The root cause maps to CWE-400 (Uncontrolled Resource Consumption): the application fails to enforce upload size limits at the application layer, allowing a low-privileged user to drive uncontrolled disk or temporary storage consumption. The NVD CPE entry (cpe:2.3:a:n/a:n/a:*) is a generic placeholder, indicating formal CPE assignment for Forgejo has not yet been completed, but the affected product and version ceiling (13.0.3) are stated in the CVE description. Relevant tracking exists in the FreeBSD bug tracker and Zenodo research records.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Network upload path (AV:N), no complexity (AC:L), requires authenticated account (PR:L), no confidentiality or integrity impact, only availability exhaustion (A:H).
Primary rating from NVD.
CVSS VectorNVD
DescriptionCVE.org
In Forgejo through 13.0.3, the attachment component allows a denial of service by uploading a multi-gigabyte file attachment (e.g., to be associated with an issue or a release).
Executive ViewAI
Organizations using Forgejo should be aware of notable risk from CVE-2025-68971, a resource exhaustion vulnerability rated CVSS 6.5. Service availability could be impacted. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement rate limiting and resource quotas.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB