Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39895

In all versions of GitLab CE/EE since version 8.0, an attacker can set the pipeline schedules to be active in a project export so when an unsuspecting owner imports that project, pipelines are active by default on that project. Under specialized conditions, this may lead to information disclosure if the project is imported from an untrusted source.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39895
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:46 UTC · Revision 1

Source evidence

CVE-2021-39895

core-osv · Original source

Published 5 Nov 2021, 00:15 UTC

In all versions of GitLab CE/EE since version 8.0, an attacker can set the pipeline schedules to be active in a project export so when an unsuspecting owner imports that project, pipelines are active by default on that project. Under specialized conditions, this may lead to information disclosure if the project is imported from an untrusted source.

osv:CVE-2021-39895
Complete source record
{
  "id": "877491bfc0a82ff5a884157753c7cc716b86127efb1715c3d6c68b2386299413",
  "url": "https://osv.dev/vulnerability/CVE-2021-39895",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39895",
    "summary": "In all versions of GitLab CE/EE since version 8.0, an attacker can set the pipeline schedules to be active in a project export so when an unsuspecting owner imports that project, pipelines are active by default on that project. Under specialized conditions, this may lead to information disclosure if the project is imported from an untrusted source.",
    "evidence": "osv:CVE-2021-39895",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39895",
      "aliases": [
        "BIT-gitlab-2021-39895",
        "CVE-2021-39895"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b50421f8650a390aa637da68c7e0138dd764fdf3"
                },
                {
                  "fixed": "9cd657e5179e339171d27e4573b8f5711db1d824"
                },
                {
                  "introduced": "38bbb40bb77dd3e0f0281c4363e2ef298e650c42"
                },
                {
                  "fixed": "72c1da0383a35604f4b2d73a7ed8e6a2c4ee64b1"
                },
                {
                  "introduced": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
                },
                {
                  "last_affected": "dec73e99fddac59c0bf816dc4bffd2a30abae6de"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "8.0.0"
                      },
                      {
                        "fixed": "14.1.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.2.0"
                      },
                      {
                        "fixed": "14.2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.3.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.0"
                      },
                      {
                        "last_affected": "14.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:14.3.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.3.0"
                      },
                      {
                        "last_affected": "14.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "14.3.0",
            "v14.2.4-ee",
            "v14.3.0-ee",
            "v14.2.3-ee",
            "v14.2.1-ee",
            "v14.2.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39895.json"
          }
        }
      ],
      "modified": "2026-10-30T10:31:01.858460669Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39895.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/337824",
        "https://hackerone.com/reports/1272535"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39895",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435842,
  "published_at": "2021-11-05T00:15:10.28+00:00"
}