CVE-2024-44625 in Gogs
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gogs | Gogs | ≤ 0.13.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-44625 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-045551-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-11-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-44625 affects Gogs versions <=0.13.0, allowing an attacker to perform a Directory Traversal attack through the editFilePost function. This vulnerability has a CVSS score of 8.8, indicating a high severity. The presence of a public proof of concept (PoC) increases the risk of exploitation. Immediate action is required to mitigate this vulnerability, especially in environments where Gogs is used for critical operations or sensitive data management.
The vulnerability exists in the editFilePost function of the internal/route/repo/editor.go file in Gogs. An attacker can exploit this by manipulating the file path parameter to traverse directories and access or modify files outside the intended directory. This can lead to unauthorized access to sensitive files, data exfiltration, and potential system compromise.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for file path parameters in the Gogs application. Ensure that only valid and expected file paths are processed, and restrict access to sensitive directories.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-44625?
CVE-2024-44625 affects Gogs versions <=0.13.0, allowing an attacker to perform a Directory Traversal attack through the editFilePost function. This vulnerability has a CVSS score of 8.8, indicating a high severity. The presence of a public proof of concept (PoC) increases the risk of exploitation. Immediate action is required to mitigate this vulnerability, especially in environments where Gogs is used for critical operations or sensitive data management.
What is the CVSS score for CVE-2024-44625?
CVE-2024-44625 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.3%.
Is CVE-2024-44625 actively exploited?
No confirmed active exploitation of CVE-2024-44625 as of 2026-09-25.
How do I remediate CVE-2024-44625?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-44625?
CVE-2024-44625 affects Gogs Gogs.
What NERC-CIP standard applies to CVE-2024-44625?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized access to critical cyber assets, which can compromise the security and integrity of the system. Immediate action is required to prevent potential data exfiltration and system compromise.
What IEC 62443 requirement maps to CVE-2024-44625?
IEC 62443 SR 7.6: This CVE maps to SR 7.6, which requires the implementation of secure coding practices to prevent vulnerabilities such as directory traversal. The vulnerability in Gogs can be exploited to access and modify sensitive files, violating the security requirements of IEC 62443.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gogs","product":"Gogs","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.