CVE-2024-54148

Gogs has a Path Traversal in file editing UI

Published Dec 23, 2024 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3610 Remote Command Execution in file editing in gogs
Github GHSA Github GHSA GHSA-r7j8-5h9c-f6fx Remote Command Execution in file editing in gogs
History
Type Values Removed Values Added
First Time appeared Gogs
Gogs gogs
CPEs cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
Vendors & Products Gogs
Gogs gogs
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
Title Gogs has a Path Traversal in file editing UI
Weaknesses CWE-22
CWE-61
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 24, 2024, 1:52 AM
Reserved
Nov 29, 2024, 6:02 PM
Status
Analyzed
Published
Dec 23, 2024, 4:15 PM
Modified
Jun 17, 2026, 8:09 AM