CubePath

CVE-2024-55947

Gogs has a Path Traversal in file update API

CVSS 4.0 High 8.7

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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.

Official description from the CVE record, published by GitHub_M. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org

Key data

CVSS 4.0 High 8.7

Score published by GitHub_M in the CVE record.

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

  • Attack vector: Network

    The vulnerable component can be reached over a network, possibly from the Internet.

  • Attack complexity: Low

    No measurable action is needed to get around the system's built-in security controls. The attack is repeatable.

  • Attack requirements: None

    The attack works without any special deployment or execution conditions.

  • Privileges required: Low

    A basic user account is needed.

  • User interaction: None

    No action from any user is needed.

  • Vulnerable system: confidentiality: High

    Serious or total effect on the secrecy of data.

  • Vulnerable system: integrity: High

    Serious or total effect on the trustworthiness of data.

  • Vulnerable system: availability: High

    Serious or total effect on availability.

  • Subsequent systems: confidentiality: None

    No effect on other systems' data secrecy.

  • Subsequent systems: integrity: None

    No effect on other systems' data trustworthiness.

  • Subsequent systems: availability: None

    No effect on other systems' availability.

CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at first.org/cvss.

EPSS

Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days.
Score
0.77685 (77.7% probability)
Percentile
99.6%
Scores of
Nov 10, 2026
Model
v2026.06.15

CISA assessment as of Dec 24, 2024

Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA.
Exploitation
Public proof of concept recorded by CISA
Automatable
yes
Technical impact
partial

Weakness (CWE)

CWE catalog version 5.0.
CWE names: Copyright © 2006-2026, The MITRE Corporation. See /security/cve/legal for the CWE license.
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory

Affected products

Products listed in the CVE record, as the CNA published them.
  • gogs

    • affected: < 0.13.1

Timeline

  1. ID reserved
  2. Record published
  3. Record last updated

Look up another CVE

About CubePath

CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection.

Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:51 UTC. Sources and licenses