Skip to main content

Forgejo CVE-2025-68971

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-03-16 mitre
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register or obtain Forgejo account
  2. Delivery
    Authenticate to target instance
  3. Exploit
    Navigate to issue or release attachment upload
  4. Execution
    Upload multi-gigabyte file repeatedly
  5. Persist
    Exhaust server disk space
  6. Impact
    Instance 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 16, 2026 - 20:05 CVSS 6.5

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

NVD PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network upload path (AV:N), no complexity (AC:L), requires authenticated account (PR:L), no confidentiality or integrity impact, only availability exhaustion (A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: implement rate limiting and resource quotas.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Prevalence
Low
self-hosted Git forge with niche but growing open-source user base
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Vendor StatusVendor

SUSE

Severity: Medium

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy