CVE-2026-144473
HIGH 7.3CVSS 4.0Knot 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
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.
- Published
- 4 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
- NVD status
- Received
- Weakness
- CWE-59
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 4.0 | HIGH 7.3 | 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 |
| CVE List | AISLE | CVSS 4.0 | HIGH 7.3 | 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 |
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | AISLE | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | CZ.NIC | Knot DNS | >= 3.4.1, < 3.5.9; = 3.6.0 | 3.5.9 |
References
- https://gitlab.nic.cz/knot/knot-dns
- https://gitlab.nic.cz/knot/knot-dns/-/commit/1bc5974578c518983718be0184f74dcfbbe46f8d
- https://gitlab.nic.cz/knot/knot-dns/-/commit/7a88dfef273a30df4e3ceb522ee56171db31a5d8
- https://gitlab.nic.cz/knot/knot-dns/-/commit/abbce24f2e722d2ace21993948707f3ed9bc1ce3
- https://www.knot-dns.cz/2026-10-08-version-359.html
- https://www.knot-dns.cz/2026-10-09-version-361.html
History
- 4 Dec 2026 01:56 UTC · NVD: first stored (published 4 Dec 2026)
- 3 Dec 2026 23:56 UTC · CVE List: first stored (published 3 Dec 2026)