Skip to main content

Port Details

Port
9090
Transport
TCP
Service
Prometheus / Cockpit
IANA service name
websm
Range
User port (1024-49151)

Related Ports

Security Exposure

The Prometheus security model presumes that untrusted users with access to the HTTP endpoint can read all time series in the database and a range of operational and debugging information. Cockpit on the same port logs in with system user accounts and passwords, so an exposed console accepts login attempts against those accounts.

Hardening

  • Restrict 9090 to monitoring and administration networks with host or network firewalls.
  • Configure TLS and basic authentication or client certificates through the Prometheus web configuration file.
  • Leave the Prometheus admin API (--web.enable-admin-api, disabled by default) and the --web.enable-lifecycle endpoints off unless required.
  • Limit Cockpit access to administrators and avoid exposing it to the internet.

Monitoring

Review reverse proxy or web logs for queries from unexpected clients, and alert on failed logins to Cockpit. Track hosts that newly expose 9090.

Prometheus / Cockpit Vulnerabilities

1 CVEs
CVECVSS
CVE-2026-4631
Cockpit: cockpit: unauthenticated remote code execution due to ssh command-line argument injection
9.8

Frequently Asked Questions

What is port 9090 used for?→

It is the default port for the Prometheus server and for the Cockpit web console. IANA's registration is websm.

Does Prometheus have authentication on port 9090?→

Prometheus supports TLS and HTTP basic authentication through its web configuration file. Its security model assumes untrusted users with HTTP access can see all metrics, so access should be restricted.

Is port 9090 TCP or UDP?→

Prometheus and Cockpit both use HTTP over TCP. IANA lists both transports for websm.

Which vulnerabilities affect the service on port 9090?→

This database lists 1 CVE related to Prometheus / Cockpit, 0 of them confirmed as exploited by CISA. Examples: CVE-2026-4631.

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 9090 is not guaranteed to be Prometheus / Cockpit. Exploited-in-the-wild data from the CISA KEV catalog (CC0).