{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "10.0"
              },
              {
                "fixed": "14.6.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "235b8d50ad14e7cdf4bc61c3df070f38dee97974"
            },
            {
              "fixed": "2ef3e89df350d5f8ffc802c04c5f19864249d125"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "14.7"
              },
              {
                "fixed": "14.7.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "621e59848886e0dceec7a248ce6266450a7b5e21"
            },
            {
              "fixed": "202c3007ccf93d8b338e10b49ef2c82e9d6f6bea"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "14.8"
              },
              {
                "fixed": "14.8.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "1d7d0b0a1db4c69533330ab29c6c0d3bdb17adba"
            },
            {
              "fixed": "20a7fdf52c92b0b26e328d9f55803af6e4baebe4"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0741.json"
  },
  "details": "Improper input validation in all versions of GitLab CE/EE using sendmail to send emails allowed an attacker to steal environment variables via specially crafted email addresses.",
  "id": "CVE-2022-0741",
  "modified": "2026-04-01T23:10:40.005427611Z",
  "published": "2022-04-01T22:17:40Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-0741.json"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/1286317"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0741.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0741"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/337601"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}