CVE-2024-54148
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.7
- CVSS 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
- EPSS probability
- 0.86%
- CWE
- CWE-61, CWE-22
- Published
- 2024-12-23
- Last modified
- 2026-03-13
Affected products
- gogs gogs
Weakness type
Related vulnerabilities
- CVE-2023-37460 — Plexus Archiver vulnerable to Arbitrary File Creation in AbstractUnArchiver
- CVE-2026-54420 — LiteSpeed cPanel plugin before 2.4.8 (as distributed in LiteSpeed WHM PlugIn before 5.3.2.0) mishandles symlinks provide
- CVE-2024-28189 — Judge0 vulnerable to Sandbox Escape Patch Bypass via chown running on Symbolic Link
- CVE-2024-28185 — Judge0 vulnerable to Sandbox Escape via Symbolic Link
- CVE-2025-68937 — Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain server shell access, because of
- CVE-2026-27976 — Zed Extension Sandbox Escape via Tar Symlink Following
- CVE-2025-55345 — Unsafe symlink following in restricted workspace-write sandbox leads to RCE
- CVE-2025-59343 — tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball