{"id":"CVE-2022-31258","details":"In Checkmk before 1.6.0p29, 2.x before 2.0.0p25, and 2.1.x before 2.1.0b10, a site user can escalate to root by editing an OMD hook symlink.","modified":"2026-08-12T03:51:17.018578859Z","published":"2022-05-20T22:02:46Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"1.6.0p29"},{"introduced":"2.x"},{"fixed":"2.0.0p25"},{"introduced":"2.1.x"},{"fixed":"2.1.0b10"}],"source":"DESCRIPTION"}],"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31258.json"},"references":[{"type":"WEB","url":"https://checkmk.com/werk/13902"},{"type":"WEB","url":"https://forum.checkmk.com/c/announcements/18"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31258.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31258"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/checkmk/checkmk","events":[{"introduced":"0"},{"fixed":"d5ccd5ecc956e665aca80f3c486f7fa46f409424"},{"introduced":"04813a13c6522da99028a99cb99505757808497b"},{"last_affected":"9b7289dd5ced8f05ec16651360c1b2db06a9b3a2"}],"database_specific":{"cpe":["cpe:2.3:a:checkmk:checkmk:*:*:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b1:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p1:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b10:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p10:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b12:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p12:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b3:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p3:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b4:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p4:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b5:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p5:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:b9:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p9:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p11:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p13:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p14:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p15:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p16:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p19:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p2:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p20:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p21:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p22:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p23:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p24:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p25:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p26:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p27:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p28:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p6:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p7:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:1.6.0:p8:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:-:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b1:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:i1:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p1:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b2:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p2:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b3:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p3:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b4:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p4:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b5:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p5:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b6:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p6:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b7:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p7:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:b8:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p8:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p10:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p11:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p12:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p13:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p14:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p15:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p16:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p17:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p18:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p19:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p20:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p21:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p22:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p23:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p24:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.0.0:p9:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b1:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b2:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b3:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b4:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b5:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b6:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b7:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b8:*:*:*:*:*:*","cpe:2.3:a:checkmk:checkmk:2.1.0:b9:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"1.6.0"},{"introduced":"1.6.0-b1"},{"last_affected":"1.6.0-b1"},{"introduced":"1.6.0-p1"},{"last_affected":"1.6.0-p1"},{"introduced":"1.6.0-b10"},{"last_affected":"1.6.0-b10"},{"introduced":"1.6.0-p10"},{"last_affected":"1.6.0-p10"},{"introduced":"1.6.0-b12"},{"last_affected":"1.6.0-b12"},{"introduced":"1.6.0-p12"},{"last_affected":"1.6.0-p12"},{"introduced":"1.6.0-b3"},{"last_affected":"1.6.0-b3"},{"introduced":"1.6.0-p3"},{"last_affected":"1.6.0-p3"},{"introduced":"1.6.0-b4"},{"last_affected":"1.6.0-b4"},{"introduced":"1.6.0-p4"},{"last_affected":"1.6.0-p4"},{"introduced":"1.6.0-b5"},{"last_affected":"1.6.0-b5"},{"introduced":"1.6.0-p5"},{"last_affected":"1.6.0-p5"},{"introduced":"1.6.0-b9"},{"last_affected":"1.6.0-b9"},{"introduced":"1.6.0-p9"},{"last_affected":"1.6.0-p9"},{"introduced":"1.6.0-p11"},{"last_affected":"1.6.0-p11"},{"introduced":"1.6.0-p13"},{"last_affected":"1.6.0-p13"},{"introduced":"1.6.0-p14"},{"last_affected":"1.6.0-p14"},{"introduced":"1.6.0-p15"},{"last_affected":"1.6.0-p15"},{"introduced":"1.6.0-p16"},{"last_affected":"1.6.0-p16"},{"introduced":"1.6.0-p19"},{"last_affected":"1.6.0-p19"},{"introduced":"1.6.0-p2"},{"last_affected":"1.6.0-p2"},{"introduced":"1.6.0-p20"},{"last_affected":"1.6.0-p20"},{"introduced":"1.6.0-p21"},{"last_affected":"1.6.0-p21"},{"introduced":"1.6.0-p22"},{"last_affected":"1.6.0-p22"},{"introduced":"1.6.0-p23"},{"last_affected":"1.6.0-p23"},{"introduced":"1.6.0-p24"},{"last_affected":"1.6.0-p24"},{"introduced":"1.6.0-p25"},{"last_affected":"1.6.0-p25"},{"introduced":"1.6.0-p26"},{"last_affected":"1.6.0-p26"},{"introduced":"1.6.0-p27"},{"last_affected":"1.6.0-p27"},{"introduced":"1.6.0-p28"},{"last_affected":"1.6.0-p28"},{"introduced":"1.6.0-p6"},{"last_affected":"1.6.0-p6"},{"introduced":"1.6.0-p7"},{"last_affected":"1.6.0-p7"},{"introduced":"1.6.0-p8"},{"last_affected":"1.6.0-p8"},{"introduced":"2.0.0-NA"},{"last_affected":"2.0.0-NA"},{"introduced":"2.0.0-b1"},{"last_affected":"2.0.0-b1"},{"introduced":"2.0.0-i1"},{"last_affected":"2.0.0-i1"},{"introduced":"2.0.0-p1"},{"last_affected":"2.0.0-p1"},{"introduced":"2.0.0-b2"},{"last_affected":"2.0.0-b2"},{"introduced":"2.0.0-p2"},{"last_affected":"2.0.0-p2"},{"introduced":"2.0.0-b3"},{"last_affected":"2.0.0-b3"},{"introduced":"2.0.0-p3"},{"last_affected":"2.0.0-p3"},{"introduced":"2.0.0-b4"},{"last_affected":"2.0.0-b4"},{"introduced":"2.0.0-p4"},{"last_affected":"2.0.0-p4"},{"introduced":"2.0.0-b5"},{"last_affected":"2.0.0-b5"},{"introduced":"2.0.0-p5"},{"last_affected":"2.0.0-p5"},{"introduced":"2.0.0-b6"},{"last_affected":"2.0.0-b6"},{"introduced":"2.0.0-p6"},{"last_affected":"2.0.0-p6"},{"introduced":"2.0.0-b7"},{"last_affected":"2.0.0-b7"},{"introduced":"2.0.0-p7"},{"last_affected":"2.0.0-p7"},{"introduced":"2.0.0-b8"},{"last_affected":"2.0.0-b8"},{"introduced":"2.0.0-p8"},{"last_affected":"2.0.0-p8"},{"introduced":"2.0.0-p10"},{"last_affected":"2.0.0-p10"},{"introduced":"2.0.0-p11"},{"last_affected":"2.0.0-p11"},{"introduced":"2.0.0-p12"},{"last_affected":"2.0.0-p12"},{"introduced":"2.0.0-p13"},{"last_affected":"2.0.0-p13"},{"introduced":"2.0.0-p14"},{"last_affected":"2.0.0-p14"},{"introduced":"2.0.0-p15"},{"last_affected":"2.0.0-p15"},{"introduced":"2.0.0-p16"},{"last_affected":"2.0.0-p16"},{"introduced":"2.0.0-p17"},{"last_affected":"2.0.0-p17"},{"introduced":"2.0.0-p18"},{"last_affected":"2.0.0-p18"},{"introduced":"2.0.0-p19"},{"last_affected":"2.0.0-p19"},{"introduced":"2.0.0-p20"},{"last_affected":"2.0.0-p20"},{"introduced":"2.0.0-p21"},{"last_affected":"2.0.0-p21"},{"introduced":"2.0.0-p22"},{"last_affected":"2.0.0-p22"},{"introduced":"2.0.0-p23"},{"last_affected":"2.0.0-p23"},{"introduced":"2.0.0-p24"},{"last_affected":"2.0.0-p24"},{"introduced":"2.0.0-p9"},{"last_affected":"2.0.0-p9"},{"introduced":"2.1.0-b1"},{"last_affected":"2.1.0-b1"},{"introduced":"2.1.0-b2"},{"last_affected":"2.1.0-b2"},{"introduced":"2.1.0-b3"},{"last_affected":"2.1.0-b3"},{"introduced":"2.1.0-b4"},{"last_affected":"2.1.0-b4"},{"introduced":"2.1.0-b5"},{"last_affected":"2.1.0-b5"},{"introduced":"2.1.0-b6"},{"last_affected":"2.1.0-b6"},{"introduced":"2.1.0-b7"},{"last_affected":"2.1.0-b7"},{"introduced":"2.1.0-b8"},{"last_affected":"2.1.0-b8"},{"introduced":"2.1.0-b9"},{"last_affected":"2.1.0-b9"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["1.6.0-b1","1.6.0-b10","1.6.0-b12","1.6.0-b3","1.6.0-b4","1.6.0-b5","1.6.0-b9","1.6.0-p11","1.6.0-p13","1.6.0-p14","1.6.0-p15","1.6.0-p16","1.6.0-p19","1.6.0-p2","1.6.0-p20","1.6.0-p21","1.6.0-p22","1.6.0-p23","1.6.0-p24","1.6.0-p25","1.6.0-p26","1.6.0-p27","1.6.0-p28","1.6.0-p6","1.6.0-p7","1.6.0-p8","2.0.0-NA","2.0.0-b1","2.0.0-b2","2.0.0-b3","2.0.0-b4","2.0.0-b5","2.0.0-b6","2.0.0-b7","2.0.0-b8","2.0.0-p10","2.0.0-p11","2.0.0-p12","2.0.0-p13","2.0.0-p14","2.0.0-p15","2.0.0-p16","2.0.0-p17","2.0.0-p18","2.0.0-p19","2.0.0-p20","2.0.0-p21","2.0.0-p22","2.0.0-p23","2.0.0-p24","2.0.0-p9","2.1.0-b1","2.1.0-b2","2.1.0-b3","2.1.0-b4","2.1.0-b5","2.1.0-b6","2.1.0-b7","2.1.0-b8","2.1.0-b9","v2.1.0p9","v2.1.0p8","v2.1.0p7","v2.1.0p6","v2.1.0p5","v2.1.0p4","v2.1.0p3","v2.1.0p2","v2.1.0p1","v2.1.0","v2.1.0b9","v2.1.0b8","v2.1.0b7","v2.1.0b6","v2.1.0b5","v2.1.0b4","v2.1.0b3","v2.1.0b2","v2.1.0b1","v2.0.0i1","v1.6.0b11","v1.6.0b10","v1.6.0b9","v1.6.0b8","v1.6.0b7","v1.6.0b6","v1.6.0b5","v1.6.0b4","v1.6.0b3","v1.6.0b2","v1.6.0b1","v1.5.0i3","v1.5.0i2","v1.5.0i1","v1.4.0i3","v1.4.0i2","v1.4.0i1","v1.2.5i6","v1.2.5i1","v1.2.3i6","v1.2.3i5","v1.2.3i4","v1.2.1i5","v1.2.0p1","v1.2.0b4","v1.2.0b3","v1.2.0b2","v1.1.13i3","v1.1.13i2","v1.1.11i3","v1.1.11i2","v1.1.11i1","v1.1.10","v1.1.10b2","v1.1.10b1","v1.1.9i9","v1.1.9i8","v1.1.9i7","v1.1.9i5","v1.1.9i4","v1.1.9i3","v1.1.9i1","v1.1.8","v1.1.8b3","v1.1.8b2","v1.1.8b1","v1.1.7i5","v1.1.7i4","v1.1.7i3","v1.1.7i2","v1.1.6","v1.1.6b2","v1.1.4","v1.1.3","v1.1.2","v1.1.0","1.1.0beta17"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31258.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:H/S:C/UI:N"}]}