{"id":"CVE-2018-18925","aliases":["EUVD-2018-10632","GHSA-59hg-cj84-76w9"],"status":"published","title":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as...","description":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a \"..\" session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.31133,"percentile":0.98281,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-384"],"published":"2018-11-04T05:29:00.397Z","modified":"2026-10-20T10:50:22Z","exploits":[{"source":"nuclei","id":"CVE-2018-18925","title":"Gogs (Go Git Service) 0.11.66 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-18925.yaml"},{"source":"pocgithub","id":"j4k0m/CVE-2018-18925","title":"j4k0m/CVE-2018-18925","date":"2021-09-12","url":"https://github.com/j4k0m/CVE-2018-18925"}],"products":[{"vendor":"gogs","product":"gogs"}],"references":[{"url":"https://github.com/gogs/gogs/issues/5469","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-18925"},{"url":"https://github.com/advisories/GHSA-59hg-cj84-76w9"}],"sources":{"cve":[{"id":"CVE-2018-18925","description":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a \"..\" session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.","status":"published","published":"2018-11-04T06:00:00Z","modified":"2024-08-05T11:23:08.566Z","updated_at":"2026-11-02T14:35:11.799349Z"}],"euvd":[{"id":"EUVD-2018-10632","description":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a \"..\" session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.","status":"published","published":"2018-11-04T06:00:00Z","modified":"2024-08-05T11:23:08Z","updated_at":"2026-11-03T02:39:34.768254Z"}],"ghsa":[{"id":"GHSA-59hg-cj84-76w9","title":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as...","description":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a \"..\" session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.","status":"published","published":"2022-05-14T01:38:22Z","modified":"2023-02-02T05:04:24Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T14:51:51.657093Z"}],"nvd":[{"id":"CVE-2018-18925","description":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a \"..\" session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.","status":"published","published":"2018-11-04T05:29:00.397Z","modified":"2026-06-17T01:48:07.95Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T14:04:47.196456Z"}],"osv":[{"id":"CVE-2018-18925","description":"Gogs 0.11.66 allows remote code execution because it does not properly validate session IDs, as demonstrated by a \"..\" session-file forgery in the file session provider in file.go. This is related to session ID handling in the go-macaron/session code for Macaron.","status":"published","published":"2018-11-04T05:29:00.397Z","modified":"2026-10-20T10:50:22.856229985Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:08.834469Z"}]}}
