All reports
Medium

Access key stored in plain text by Jenkins Metrics Plugin

Affected versions

Affected versions
< 4.0.2.7.1
Fixed version
4.0.2.7.1
Affected versions
= 4.0.2.8
Fixed version
4.0.2.8.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-20621

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-23

Description

Jenkins Metrics Plugin 4.0.2.8 and earlier stores an access key unencrypted in its global configuration file jenkins.metrics.api.MetricsAccessKey.xml on the Jenkins controller as part of its configuration.

This access key can be viewed by users with access to the Jenkins controller file system.

Jenkins Metrics Plugin 4.0.2.8.1 stores access key encrypted once its configuration is saved again.

Additionally, the token value is only displayed once when it is generated.

Links

Credits

  • westonsteimel