Forgejo CVE-2025-68971
MEDIUMSeverity 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
Lifecycle Timeline
2DescriptionCVE.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).
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: MediumShare
External POC / Exploit Code
Leaving vuln.today