{"id":"CVE-2022-4138","aliases":["BIT-gitlab-2022-4138","EUVD-2022-51500","GHSA-4m8h-w9w3-cp2v","UBUNTU-CVE-2022-4138"],"status":"published","title":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions...","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","severity":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00445,"percentile":0.39211,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2023-02-13T00:00:00Z","modified":"2026-10-30T10:30:33Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["15.6.7","15.7.6","15.8.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"15.6.7"},{"introduced":"15.7.0"},{"fixed":"15.7.6"},{"introduced":"15.8.0"},{"fixed":"15.8.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/383709","tags":["x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/1778009","tags":["x_transferred","Permissions Required","web","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4138.json","tags":["x_transferred","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4138","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-4m8h-w9w3-cp2v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4138.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-4138","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4138","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-4138","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2023-02-13T00:00:00Z","modified":"2025-03-21T19:13:19.474Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:34:38.263045Z"}],"euvd":[{"id":"EUVD-2022-51500","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2023-02-13T00:00:00Z","modified":"2025-03-21T19:13:19Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:55.622908Z"}],"ghsa":[{"id":"GHSA-4m8h-w9w3-cp2v","title":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions...","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2023-02-14T00:30:21Z","modified":"2023-03-07T05:07:27Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:54:16.644116Z"}],"nvd":[{"id":"CVE-2022-4138","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2023-02-13T23:15:11.493Z","modified":"2026-06-17T05:20:03.567Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:07:36.026349Z"}],"osv":[{"id":"CVE-2022-4138","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2023-02-13T00:00:00Z","modified":"2026-10-30T10:30:33.956785401Z","cvss":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"UBUNTU-CVE-2022-4138","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2023-02-13T23:15:00Z","modified":"2025-10-24T04:53:17Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:55.502114Z"},{"id":"BIT-gitlab-2022-4138","description":"A Cross Site Request Forgery issue has been discovered in GitLab CE/EE affecting all versions before 15.6.7, all versions starting from 15.7 before 15.7.6, and all versions starting from 15.8 before 15.8.1. An attacker could take over a project if an Owner or Maintainer uploads a file to a malicious project.","status":"published","published":"2024-03-06T11:13:27.484Z","modified":"2026-09-08T08:47:40.823431084Z","updated_at":"2026-11-02T15:28:30.405543Z"}]}}
