{"id":"CVE-2026-91151","summary":"Cockpit: cockpit: local privilege escalation via insecure symlink handling in public key addition helper","details":"A flaw was found in Cockpit. A local authenticated user with control over a target account's home directory can exploit a privileged symlink dereference vulnerability in the `ssh-add-public-key.sh` helper. When this helper runs with elevated privileges, it can be tricked into following attacker-controlled symlinks within the `.ssh` or `authorized_keys` paths. This allows the attacker to arbitrarily change file ownership and modes, potentially leading to local privilege escalation and impacting the integrity, confidentiality, and availability of the system.","modified":"2026-11-13T02:47:37.107240905Z","published":"2026-11-11T19:46:14.718Z","database_specific":{"cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91151.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges","range":[{"fixed":"0:366.1.1-1.el10_3"},{"fixed":"0:356.4.1-1.el10_2"},{"fixed":"0:310.10.2-1.el8_10"},{"fixed":"0:366.1.1-1.el9_9"},{"fixed":"0:366.1.1-1.el9_9"},{"fixed":"0:356.4.1-1.el9_8"}]}]}],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/cockpit-project/cockpit/releases/tag/372"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:99599"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:99600"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:99601"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:99602"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:99603"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-91151"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91151.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91151"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2478404"},{"type":"FIX","url":"https://github.com/cockpit-project/cockpit/commit/4796b28be064a90e32262cec85be7839e6198e23"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cockpit-project/cockpit","events":[{"introduced":"0"},{"fixed":"4796b28be064a90e32262cec85be7839e6198e23"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"4796b28be064a90e32262cec85be7839e6198e23"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"372","range":[{"fixed":"4796b28be064a90e32262cec85be7839e6198e23"}]}]}}],"versions":["371","370","369","368","366","367","365","364","363.2","363.1","363","362","361","360.1","356","360","359","358","357","355","354","353.1","353","352","351","350","349","348","347","345","346","344","343","342","341.1","341","340","339","338","337","336","335","334","333","332","331","330","329","328","327","326","325","323","324","322","321","320","319","318","317","316","315","314","287","311.1","313","312","311","310.2","310.1","310","309","308","307","306","305","304","303","302","300.1","301","300","299","298","297","296","295","294.1","294","274","293","292","286.1","291","290","289","288.2","288.1","288","286","285","284","283","282.1","282","281","280.1","280","279","275","278","277","276","274.1","273","272","271","270","269","268.1","268","267","266","265","264","263","262","261","260","259","258","257","256","255.1","255","254","253","251","252","250","249","248","247","246","245","244.1","244","243","242","241","240","239","238.1","238","237","236","235","234","233.1","233","232","231","230","229","228","227","226","225","224","223","222.1","222","221.1","221","220","219","218","217","216","215","214.1","214","213","212","211","210","209","208","207","206","205.1","205","204","203","202.1","202","201","200","199","197","196","198","195","194","193","192","191","190","189","188","187","186","184","185","183","182","181","180","179","178","177","176","175","174","173","172","171","170","169","168","167","166","165","164","163","162","161","160","159","158","157","156","155","154","153","152","151","150","149","148","147","146","145","144","143","142","141","140","139","138","137","136","135","134","133","132","131","130","129","128","127","126","125","124","123","122","121","120","119","118","0.117","0.116","0.115","0.114","0.113","0.112","0.111","0.110","0.109","0.108","0.107","0.106","0.105","0.104","0.103","0.102","0.101","0.100","0.99","0.98","0.97","0.96-1","0.96","0.95","0.94","0.93","0.92","0.91","0.90","0.89","0.88","0.87","0.86","0.85","0.84","0.83","0.82","0.81","0.80","0.79","0.78","0.77","0.76","0.75","0.74","0.73","0.72","0.71","0.70","0.69","0.68","0.67","0.66","0.65","0.64","0.63","0.62","0.61","0.60","0.59","0.58","0.57","0.56","0.55","0.54","0.53","0.52","0.51","0.50","0.49","0.48","0.47","0.46","0.45","0.44","0.42","0.41","0.40","0.39","0.38","0.37","0.36","0.35","0.34","0.33","0.32","0.31","0.30","0.29","0.28","0.27","0.26","0.25","0.24","0.23","0.22","0.21","0.20","0.19","0.18","0.17","0.16","0.15","0.14","0.13","0.12","0.11","0.10","0.9","0.8","0.7","0.6","0.5","0.4","0.3","0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91151.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}