All vulnerabilities

Servers and applications

CVE-2026-53581

ntp: write path traversal

Severity
Critical 9.0
Published
2 Jun 2026
Last changed
9 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
20, 26.1.9
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)CWE-73
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change some data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:H
Also known as
GHSA-872g-g543-j37m
Sources
Project advisories (GitHub)

Description

A path traversal vulnerability in the NTP configuration module allows an attacker to overwrite arbitrary files on the system as the root user. By manipulating the GPS or PPS serial port parameter, an attacker with access to the NTP configuration can escape the intended directory and force the system to write user-controlled data to any file on the filesystem.

The vulnerability exists within the src/etc/inc/ntpd.inc file, specifically within the ntpd_configure_gps() and ntpd_configure_pps() functions.

When the NTP service is configured to use a GPS device, the user-supplied serial port (derived from $config['ntpd']['gps']['port']) is concatenated directly with the /dev/ directory path without any normalization or validation.

Successful exploitation results in total system compromise by a user with limited GUI access.

From opnsense/core's security advisory.

Affected software

SoftwareAffected versions
OPNsenseServers and applications · github:opnsense/core
  • Every version before 26.1.9
  • Every version before 20

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,802GitHub, 15 Nov 2026
Forks
1,029GitHub, 15 Nov 2026
License
2-clause BSD LicenseWikidata
Written in
PHP, CWikidata
First released
2 Jan 2015Wikidata
First published on GitHub
13 Dec 2014GitHub

Release lines

ReleaseLatestSecurity fixes
26.7 'Xenial Xenops'26.7.9Yes
26.1 'Witty Woodpecker'26.1.11Ended 15 Jul 2026
25.7 'Visionary Viper'25.7.11Ended 28 Jan 2026
25.1 'Ultimate Unicorn'25.1.12Ended 23 Jul 2025
24.7 'Thriving Tiger'24.7.12Ended 28 Jan 2025
24.1 'Savvy Shark'24.1.10Ended 25 Jul 2024

From endoflife.date.

References