Skip to content
Heist/ feed
Back to feed
Medium

Improper Control of Generation of Code ('Code Injection') in GitLab

Type: advisorySources: OSV

GitLab has remediated an issue in GitLab EE affecting all versions from 18.0.0 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that in Code Quality reports could have allowed an authenticated user to leak IP addresses of users viewing the report via specially crafted content.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-1516
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:45 UTC · Revision 1

Source evidence

Improper Control of Generation of Code ('Code Injection') in GitLab

core-osv · Original source

Published 8 Apr 2026, 22:25 UTC

GitLab has remediated an issue in GitLab EE affecting all versions from 18.0.0 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that in Code Quality reports could have allowed an authenticated user to leak IP addresses of users viewing the report via specially crafted content.

osv:CVE-2026-1516
Complete source record
{
  "id": "0d6dba61f764fbcff340cfaf973cee18ee3fb5112971dd04b9e7c41afa619a93",
  "url": "https://osv.dev/vulnerability/CVE-2026-1516",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Improper Control of Generation of Code ('Code Injection') in GitLab",
    "summary": "GitLab has remediated an issue in GitLab EE affecting all versions from 18.0.0 before 18.8.9, 18.9 before 18.9.5, and 18.10 before 18.10.3 that in Code Quality reports could have allowed an authenticated user to leak IP addresses of users viewing the report via specially crafted content.",
    "evidence": "osv:CVE-2026-1516",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-1516",
      "aliases": [
        "BIT-gitlab-2026-1516",
        "CVE-2026-1516"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "504fd9e5236e13d674e051c6b8a1e9892b371c58"
                },
                {
                  "fixed": "0e5855944a09654b84df0e4549c957a5d8c11c9d"
                },
                {
                  "introduced": "20fe49b575fedd2b8cadc2c0640178879854aeb3"
                },
                {
                  "fixed": "195c0c16799d8e10e8c16f129b0719f6c48b6110"
                },
                {
                  "introduced": "57c08314af5bc8f317b1967330f92ed029e2c628"
                },
                {
                  "fixed": "1dcd29ee5eb310bc7572339a95188e123e83970b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "18.0.0"
                      },
                      {
                        "fixed": "18.8.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "18.9.0"
                      },
                      {
                        "fixed": "18.9.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "18.10.0"
                      },
                      {
                        "fixed": "18.10.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v18.9.0-ee",
            "v18.9.4-ee",
            "v18.10.2-ee",
            "v18.10.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1516.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:48.724434780Z",
      "provider": "osv",
      "references": [
        "https://about.gitlab.com/releases/2026/04/08/patch-release-gitlab-18-10-3-released/",
        "https://gitlab.com/gitlab-org/gitlab/-/work_items/587893",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1516.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-1516",
        "https://hackerone.com/reports/3514461"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "GitLab",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "18.0.0"
                  },
                  {
                    "fixed": "18.8.9"
                  },
                  {
                    "introduced": "18.9"
                  },
                  {
                    "fixed": "18.9.5"
                  },
                  {
                    "introduced": "18.10"
                  },
                  {
                    "fixed": "18.10.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "18.0.0"
                  },
                  {
                    "fixed": "18.8.9"
                  },
                  {
                    "introduced": "18.9"
                  },
                  {
                    "fixed": "18.9.5"
                  },
                  {
                    "introduced": "18.10"
                  },
                  {
                    "fixed": "18.10.3"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1516.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-1516",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505825,
  "published_at": "2026-04-08T22:25:57.848+00:00"
}