{"id":"CVE-2016-4340","aliases":["EDB-40236"],"kind":"cve","tier":"cold","status":"published","title":"The impersonate feature in Gitlab 8.7.0, 8.6.0 through 8.6.7, 8.5.0 through 8.5.11, 8.4.0 through 8.4.9, 8.3.0 through…","description":"The impersonate feature in Gitlab 8.7.0, 8.6.0 through 8.6.7, 8.5.0 through 8.5.11, 8.4.0 through 8.4.9, 8.3.0 through 8.3.8, and 8.2.0 through 8.2.4 allows remote authenticated users to \"log in\" as any other user via unspecified vectors.","ai_summary":null,"severity":"high","cvss":{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":8.8,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.5,"version":"2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-264"],"remote":true,"remote_unauth":false,"epss":{"score":0.10143,"percentile":0.96393,"date":"2026-11-30"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[40236]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://about.gitlab.com/2016/05/02/cve-2016-4340-patches/","kind":"patch"},{"url":"https://gitlab.com/gitlab-org/gitlab-ce/issues/15548","kind":"patch"},{"url":"https://www.exploit-db.com/exploits/40236/","kind":"exploit"},{"url":"http://packetstormsecurity.com/files/138368/GitLab-Impersonate-Privilege-Escalation.html","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/40236","kind":"exploit"}],"workarounds":null,"vendors":["gitlab"],"products":["gitlab"],"cpes":["cpe:2.3:a:gitlab:gitlab:8.2.0:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.2.1:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.2.2:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.2.3:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.2.4:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.0:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.1:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.2:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.3:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.4:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.5:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.6:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.7:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.3.8:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.0:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.1:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.2:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.3:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.4:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.5:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.6:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.7:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.8:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.4.9:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.0:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.10:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.11:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.1:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.2:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.3:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.4:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.5:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.6:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.7:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.8:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.5.9:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.0:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.1:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.2:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.3:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.4:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.5:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.6:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.6.7:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:8.7.0:*:*:*:*:*:*:*"],"published_at":"2016-08-15T00:00:00.000Z","modified_at":"2026-06-17T00:47:22.557Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4340"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/40236"}],"links":{"html":"https://flawdb.com/CVE-2016-4340","markdown":"https://flawdb.com/CVE-2016-4340.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-4340"}}