{
  "id": "CVE-2026-19478",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-19478",
  "published_at": "2026-08-17T20:04:46.4Z",
  "title": "Improper Control of Generation of Code ('Code Injection') in GitLab",
  "vendor": "GitLab",
  "product": "GitLab",
  "cvss": {
    "score": 9.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-18T07:14:05Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.5,
    "repo": "davkharrr/CVE-2026-19478-PoC",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.2 before 18.11.11, 19.0 before 19.0.8, 19.1 before 19.1.6, and 19.2 before 19.2.4 that under certain conditions could allow an unauthenticated user to remotely modify or delete public projects and user data via a GraphQL directive.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
    "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.4,
    "nvd": 9.1
  },
  "repos": [
    {
      "repo": "HORKimhab/CVE-2026-19650-CVE-2026-19478",
      "url": "https://github.com/HORKimhab/CVE-2026-19650-CVE-2026-19478",
      "created_at": "2026-08-17T23:32:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-12T07:48:30Z"
    },
    {
      "repo": "davkharrr/CVE-2026-19478-PoC",
      "url": "https://github.com/davkharrr/CVE-2026-19478-PoC",
      "created_at": "2026-08-18T07:14:05Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 11,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-11-16T07:08:53Z"
    },
    {
      "repo": "dinosn/gitlab-cve-2026-19478-lab",
      "url": "https://github.com/dinosn/gitlab-cve-2026-19478-lab",
      "created_at": "2026-08-18T10:50:03Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 11,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-03-13T08:31:01Z"
    },
    {
      "repo": "renzi25031469/CVE-2026-19478",
      "url": "https://github.com/renzi25031469/CVE-2026-19478",
      "created_at": "2026-08-19T06:24:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-12T02:35:45Z"
    },
    {
      "repo": "n0xdaemon/cve-2026-19478",
      "url": "https://github.com/n0xdaemon/cve-2026-19478",
      "created_at": "2026-08-20T20:26:54Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-11-03T10:42:38Z"
    },
    {
      "repo": "EQSTLab/CVE-2026-19478",
      "url": "https://github.com/EQSTLab/CVE-2026-19478",
      "created_at": "2026-08-27T06:30:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-25T15:10:45Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "GitLab",
        "product": "GitLab",
        "ranges": [
          "\u003e= 18.2, \u003c 18.11.11",
          "\u003e= 19.0, \u003c 19.0.8",
          "\u003e= 19.1, \u003c 19.1.6",
          "\u003e= 19.2, \u003c 19.2.4"
        ],
        "fixed_in": [
          "18.11.11",
          "19.0.8",
          "19.1.6",
          "19.2.4"
        ]
      }
    ],
    "solutions": [
      "Upgrade to versions 18.11.11, 19.0.8, 19.1.6, 19.2.4 or above."
    ],
    "upgrade": [
      "Upgrade GitLab to 18.11.11 or 19.0.8 or 19.1.6 or 19.2.4 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://hackerone.com/reports/3926431",
      "source": "cvelist",
      "title": "HackerOne Bug Bounty Report #3926431",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-19478.yaml",
      "source": "nuclei",
      "title": "nuclei template: GitLab CE/EE - GraphQL @gl_introduced Arbitrary Method Invocation",
      "published_at": "2026-08-18T19:40:47Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/graphql",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"query\""
      ],
      "content_type": "application/json",
      "ports": [
        3000,
        8222,
        8224
      ],
      "protocol": "http",
      "repos": [
        "EQSTLab/CVE-2026-19478",
        "dinosn/gitlab-cve-2026-19478-lab",
        "renzi25031469/CVE-2026-19478"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "EQSTLab/CVE-2026-19478/seed.sh:8",
        "dinosn/gitlab-cve-2026-19478-lab/poc_cve_2026_19650.py:32",
        "renzi25031469/CVE-2026-19478/CVE-2026-19478.yaml:56"
      ]
    },
    {
      "method": "GET",
      "path_template": "/api/v4/projects",
      "query_markers": [
        "visibility=public",
        "per_page=1",
        "simple=true",
        "order_by=id",
        "sort=asc"
      ],
      "protocol": "https",
      "repos": [
        "renzi25031469/CVE-2026-19478"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "renzi25031469/CVE-2026-19478/CVE-2026-19478.yaml:43"
      ]
    }
  ],
  "rules": []
}
