{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "0.11.66"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3a4c981e3167875a3b60d0cee00ee85272608439"
            }
          ],
          "repo": "https://github.com/gogs/gogs",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2018-18925",
  "modified": "2026-03-13T21:55:36.167686080Z",
  "published": "2018-11-04T05:29:00.397Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/gogs/gogs/issues/5469"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}