{"cve":"CVE-2024-54148","nvd":{"published":"2024-12-23T16:15:07.010","modified":"2026-06-17T08:09:51.520","status":"Analyzed","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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22","CWE-61"],"references":["https://github.com/gogs/gogs/commit/c94baec9ca923f38c19f0c7c5af722b9ec04022a","https://github.com/gogs/gogs/issues/7582","https://github.com/gogs/gogs/pull/7857","https://github.com/gogs/gogs/security/advisories/GHSA-r7j8-5h9c-f6fx"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2024-54148","score":0.00855,"percentile":0.58378,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r7j8-5h9c-f6fx","url":"https://osv.dev/vulnerability/GHSA-r7j8-5h9c-f6fx","summary":"Remote Command Execution in file editing in gogs","modified":"2025-04-10T22:56:15Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.1"],"fixed":["0.13.1"]}]},{"id":"GO-2024-3355","url":"https://osv.dev/vulnerability/GO-2024-3355","summary":"Remote Command Execution in file editing in gogs in gogs.io/gogs","modified":"2026-03-03T04:56:09.536327Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.13.1"],"fixed":["0.13.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}