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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 03 Dec 2026 23:15:00 +0000

Type Values Removed Values Added
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.
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
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: AISLE

Published:

Updated: 2026-12-03T23:00:19.659Z

Reserved: 2026-12-03T22:11:27.380Z

Link: CVE-2026-144473

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses