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
| CVE | CVE-2026-144473 |
|---|---|
| State | PUBLISHED |
| Assigner | AISLE |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-04 00:19:15 UTC |
| Updated | 2026-12-04 00:19:15 UTC |
| 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. |
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')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 7.3 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 7.3 | HIGH | 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 |
| 3.1 | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea | Secondary | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
PresentPrivileges Required
LowUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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)
There are currently no legacy QID mappings associated with this CVE.