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

Summary

CVECVE-2026-144473
StatePUBLISHED
AssignerAISLE
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-04 00:19:15 UTC
Updated2026-12-04 00:19:15 UTC
DescriptionKnot 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.

Risk And Classification

Primary CVSS: v4.0 7.3 HIGH from 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

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

Problem Types: CWE-59 | CWE-59 Improper Link Resolution Before File Access ('Link Following')


VersionSourceTypeScoreSeverityVector
4.01a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary7.3HIGHCVSS: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/C...
4.0CNADECLARED7.3HIGHCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
3.11a4f025a-074d-4105-b4e2-52bd8eabe2eaSecondary7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7HIGHCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Confidentiality
High
Integrity
High
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA CZ.NIC Knot DNS affected 3.4.1 3.5.9 semver Not specified
CNA CZ.NIC Knot DNS affected 3.6.0 semver Not specified

References

ReferenceSourceLinkTags
gitlab.nic.cz/knot/knot-dns/-/commit/7a88dfef273a30df4e3ceb522ee56171db31a5d8 1a4f025a-074d-4105-b4e2-52bd8eabe2ea gitlab.nic.cz
www.knot-dns.cz/2026-10-08-version-359.html 1a4f025a-074d-4105-b4e2-52bd8eabe2ea www.knot-dns.cz
gitlab.nic.cz/knot/knot-dns/-/commit/1bc5974578c518983718be0184f74dcfbbe46f8d 1a4f025a-074d-4105-b4e2-52bd8eabe2ea gitlab.nic.cz
www.knot-dns.cz/2026-10-09-version-361.html 1a4f025a-074d-4105-b4e2-52bd8eabe2ea www.knot-dns.cz
gitlab.nic.cz/knot/knot-dns/-/commit/abbce24f2e722d2ace21993948707f3ed9bc1ce3 1a4f025a-074d-4105-b4e2-52bd8eabe2ea gitlab.nic.cz
gitlab.nic.cz/knot/knot-dns 1a4f025a-074d-4105-b4e2-52bd8eabe2ea gitlab.nic.cz
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Joshua Rogers (AISLE Research) (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report