BreachSpiderVerified, not vibes

CVE-2024-55947 in Gogs

High 8.8 Fix available

Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
CVSS v48.7
EPSS3.9%
EPSS percentile91th
FixAvailable

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

VendorProductAffected versions
Gogs Gogs < 0.13.1

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.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Gogs is an open source self-hosted Git service. A malicious user is able to write a file to an arbitrary path on the server to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-55947
BreachSpider IDBS-2024-GLOBAL-044411-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-12-23
Last modified2025-04-10
Weakness (CWE)
SourceNVD

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-55947 affects Gogs, an open-source self-hosted Git service, allowing a malicious user to write a file to an arbitrary path on the server, potentially leading to SSH access. The vulnerability is rated 8.8 on the CVSS scale and is fixed in version 0.13.1. This issue poses a significant risk to the security and integrity of the server, especially in ICS/OT environments where unauthorized access can lead to severe operational disruptions and safety risks.

A malicious user can exploit this vulnerability by writing a file to an arbitrary path on the server, which can be used to gain SSH access. This can be achieved through the web interface or API, without requiring physical access to the server. The attacker can then execute arbitrary commands, potentially leading to full control of the server.

Compensating controls AI-drafted, review before use

Implement strict access controls and monitoring for the Gogs server, including regular audits of user activities and file system changes. Ensure that only authorized users have access to the server and that all actions are logged and reviewed.

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-55947?

CVE-2024-55947 affects Gogs, an open-source self-hosted Git service, allowing a malicious user to write a file to an arbitrary path on the server, potentially leading to SSH access. The vulnerability is rated 8.8 on the CVSS scale and is fixed in version 0.13.1. This issue poses a significant risk to the security and integrity of the server, especially in ICS/OT environments where unauthorized access can lead to severe operational disruptions and safety risks.

What is the CVSS score for CVE-2024-55947?

CVE-2024-55947 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: 3.9%.

Is CVE-2024-55947 actively exploited?

No confirmed active exploitation of CVE-2024-55947 as of 2026-05-30.

How do I remediate CVE-2024-55947?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2024-55947?

CVE-2024-55947 affects Gogs Gogs.

What NERC-CIP standard applies to CVE-2024-55947?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the server, which can compromise the security of the electronic security perimeter and the systems within it.

What IEC 62443 requirement maps to CVE-2024-55947?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to gain unauthorized access to the system, which is a critical security risk in ICS/OT environments.

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-04-10.