{"schemaVersion":4,"id":"CVE-2026-144473","aliases":[],"status":"published","duplicateOf":null,"title":"Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 Local Privilege Escalation via Auto-Generated TLS Key Symlink","description":"Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 contain a link following vulnerability in self_key() in src/libknot/quic/tls_common.c that, when QUIC or TLS is enabled without a configured certificate, creates the auto-generated private key file in the KASP database directory with open() without O_NOFOLLOW or O_EXCL and then changes its owner to the configured server user with fchown(). Local attackers who can write to the KASP database directory, such as the knot service account, can place a dangling symbolic link at the key path so that knotd, when started as root before it drops privileges, creates a file at an arbitrary location owned by the knot user, leading to privilege escalation to root.","dates":{"published":"2026-12-03T23:00:19.659Z","modified":"2026-12-03T23:00:19.659Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00189,"percentile":0.0886,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-04T00:00:00.000Z","score":0.00189,"percentile":0.0886}],"last30":[{"date":"2026-12-04T00:00:00.000Z","score":0.00189,"percentile":0.0886}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"cz.nic","product":"knot dns","name":"Knot DNS","label":"knot dns","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.4.1, < 3.5.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.4.1","startInclusive":true,"end":"3.5.9","endInclusive":false}},{"text":"3.6.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.6.0","startInclusive":true,"end":"3.6.0","endInclusive":true}}],"versionsText":"≥ 3.4.1, < 3.5.9 | 3.6.0","eol":null,"hubHref":"/vendor/cznic/knot_dns"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://gitlab.nic.cz/knot/knot-dns/-/commit/abbce24f2e722d2ace21993948707f3ed9bc1ce3","label":"gitlab.nic.cz/knot/knot-dns/-/commit/abbce24f2e722d2ace21993948707f3ed9bc1ce3","hostname":"gitlab.nic.cz","tags":[]},{"url":"https://gitlab.nic.cz/knot/knot-dns/-/commit/7a88dfef273a30df4e3ceb522ee56171db31a5d8","label":"gitlab.nic.cz/knot/knot-dns/-/commit/7a88dfef273a30df4e3ceb522ee56171db31a5d8","hostname":"gitlab.nic.cz","tags":[]},{"url":"https://gitlab.nic.cz/knot/knot-dns/-/commit/1bc5974578c518983718be0184f74dcfbbe46f8d","label":"gitlab.nic.cz/knot/knot-dns/-/commit/1bc5974578c518983718be0184f74dcfbbe46f8d","hostname":"gitlab.nic.cz","tags":[]},{"url":"https://www.knot-dns.cz/2026-10-08-version-359.html","label":"www.knot-dns.cz/2026-10-08-version-359.html","hostname":"www.knot-dns.cz","tags":[]},{"url":"https://www.knot-dns.cz/2026-10-09-version-361.html","label":"www.knot-dns.cz/2026-10-09-version-361.html","hostname":"www.knot-dns.cz","tags":[]},{"url":"https://gitlab.nic.cz/knot/knot-dns","label":"gitlab.nic.cz/knot/knot-dns","hostname":"gitlab.nic.cz","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-03T23:00:19.659Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,73],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00189,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T23:00:19.659Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-03T23:00:19.659Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-03T23:00:19.659Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.3,"vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-03T23:00:19.659Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"epss":{"value":0.00189,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:13:53.898Z","stale":false,"partial":false}}