Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-12275

GitLab 12.6 through 12.9 is vulnerable to a privilege escalation that allows an external user to create a personal snippet through the API.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-12275
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:17 UTC · Revision 1

Source evidence

CVE-2020-12275

core-osv · Original source

Published 29 Apr 2020, 17:15 UTC

GitLab 12.6 through 12.9 is vulnerable to a privilege escalation that allows an external user to create a personal snippet through the API.

osv:CVE-2020-12275
Complete source record
{
  "id": "030963fa37f42cd5b7ae724f1e3b1331b547a4b6b8feac1596c7a6ae374e62c0",
  "url": "https://osv.dev/vulnerability/CVE-2020-12275",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-12275",
    "summary": "GitLab 12.6 through 12.9 is vulnerable to a privilege escalation that allows an external user to create a personal snippet through the API.",
    "evidence": "osv:CVE-2020-12275",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-12275",
      "aliases": [
        "BIT-gitlab-2020-12275",
        "CVE-2020-12275"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "11ac4a9aa216b39b2880f8a647f39f6ea77cef1a"
                },
                {
                  "fixed": "8c3dbc944a2af1e1c5ae9145fc9991d38b7abbb3"
                },
                {
                  "introduced": "0bd32f788647bb832f3d9eb5746cbda5300e0fa2"
                },
                {
                  "fixed": "6319b8e640d4c552261b8b679fe61b69b6eec4dc"
                },
                {
                  "introduced": "073a4ba8016203c9e48595afd3ddea430d9420a3"
                },
                {
                  "fixed": "0ebcf602332fc27fc2bc8a2eb7b14d7a1685c343"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.6.0"
                      },
                      {
                        "fixed": "12.7.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.6.0"
                      },
                      {
                        "fixed": "12.7.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.8.0"
                      },
                      {
                        "fixed": "12.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.8.0"
                      },
                      {
                        "fixed": "12.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.9.0"
                      },
                      {
                        "fixed": "12.9.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.9.0"
                      },
                      {
                        "fixed": "12.9.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v12.8.5-ee",
            "v12.8.3-ee",
            "v12.9.0-ee",
            "v12.8.7-ee",
            "v12.8.4-ee",
            "v12.8.1-ee",
            "v12.8.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12275.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:55.814718412Z",
      "provider": "osv",
      "references": [
        "https://about.gitlab.com/releases/2020/03/26/security-release-12-dot-9-dot-1-released/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-12275",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429389,
  "published_at": "2020-04-29T17:15:11.943+00:00"
}