PoC Monitor
← All CVEs
CVE-2025-68937published 25 Dec 2025 23:57 UTCData: JSON · API

Forgejo

Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of mishandling of out-of-repository symlink destinations for template repositories. This is also fixed for 11 LTS in 11.0.7 and later.

First public PoC 219 daysafter publication · 2 Aug 2026
Public PoCs11 on GitHub
CVSS9.5critical · scored by CNA · CWE-61
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Forgejo Forgejo
  • >= 12.0.0, < 13.0.2
  • < 11.0.7

Fixed in 13.0.2, 11.0.7

Mitigation

Upgrade Forgejo to 13.0.2 or 11.0.7 or later.

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210CVE published25 Dec 2025 · t = 0First public PoC2 Aug 2026 · t+219d

First public PoC 219 days after publication; not in CISA KEV. First PoC: Scratchappy/CVE-2025-68937 (created 2 Aug 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs · 1 informational

PoCs 1
RepositoryCreatedStarsAssessment
Scratchappy/CVE-2025-68937 2 Aug 2026 +219 d 0 PoC
Informational 1
RepositoryCreatedStarsAssessment
ClemaX/Gitea-Forgejo-CVE-2025-68937 1 Dec 2025 −25 d 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

{VAR} /api/v1{var}

Ports
3000
Seen in
1 repo: Scratchappy/CVE-2025-68937
Evidence
Scratchappy/CVE-2025-68937/exploit.py:32

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

{VAR} /api/v1{var}
(?i)^/api/v1[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

{VAR} /api/v1{var}
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2025-68937 Forgejo Forgejo exploit attempt"; flow:established,to_server; http.method; content:"{VAR}"; http.uri; content:"/api/v1"; reference:url,poc.griffinguard.io/cve/CVE-2025-68937; classtype:web-application-attack; sid:9571312; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

{VAR} /api/v1{var}
title: Forgejo Forgejo exploit attempt (CVE-2025-68937)
id: gg-pocmon-cve-2025-68937-9571312
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68937. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68937
logsource:
  category: webserver
detection:
  selection:
    cs-method: {VAR}
    cs-uri-stem|contains|all:
      - '/api/v1'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68937