Medium

Jenkins Credentials plugin reveals encrypted values of credentials to users with Extended Read permission

  • Disclosed: 02.10.2024
  • Updated: 11.10.2026 12:21

Jenkins Credentials Plugin 1380.va_435002fa_924 and earlier, except 1371.1373.v4eb_fa_b_7161e9, does not redact encrypted values of credentials using the SecretBytes type (e.g., Certificate credentials, or Secret file credentials from Plain Credentials Plugin) when accessing item config.xml via REST API or CLI.

This allows attackers with Item/Extended Read permission to view encrypted SecretBytes values in credentials.

This issue is similar to SECURITY-266 in the 2016-05-11 security advisory, which applied to the Secret type used for inline secrets and some credentials types.

Credentials Plugin 1381.v2c3a_12074da_b_ redacts the encrypted values of credentials using the SecretBytes type in item config.xml files.

This fix is only effective on Jenkins 2.479 and newer, LTS 2.462.3 and newer. While Credentials Plugin 1381.v2c3a_12074da_b_ can be installed on Jenkins 2.463 through 2.478 (both inclusive), encrypted values of credentials using the SecretBytes type will not be redacted when accessing item config.xml via REST API or CLI.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:credentials >= 1372, < 1381.v2c3a, < 1371.1373.v4eb 1381.v2c3a, 1371.1373.v4eb

References

CVSS score 4.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-200, CWE-522
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:credentials
Disclosed
02.10.2024
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-62jv-j4w7-5hh8 - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:credentials

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
06.2021 10.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 5

Disclosures per year

  1. 2021: 1
  2. 2022: 3
  3. 2023: 0
  4. 2024: 1
  5. 2025: 0
  6. 2026: 0
  1. Jenkins Credentials plugin reveals encrypted values of credentials to users with Extended Read permission this entry
    Medium · 4.3 CVE-2024-47805 >= 1372, < 1381.v2c3a, < 1371.1373.v4eb 1381.v2c3a, 1371.1373.v4eb
  2. Medium · 5.4 CVE-2022-29036 < 2.6.1.1, >= 2.6.2, < 1074.1076.v39c30cecb_0e2, >= 1087.v16065d268466, < 1087.1089.v2f1b_9a_b_040e4, >= 1105, <= 1111.v35a 2.6.1.1, 1074.1076.v39c30cecb_0e2, 1087.1089.v2f1b_9a_b_040e4
  3. Medium · 6.1 CVE-2021-21648 >= 2.3.16, < 2.3.19, >= 2.3.15, < 2.3.15.1, >= 2.3.14, < 2.3.14.1, >= 2.3.8, < 2.3.13.1, >= 2.3.1, < 2.3.7.1, < 2.3.0.1 2.3.19, 2.3.15.1, 2.3.14.1, 2.3.13.1, 2.3.7.1, 2.3.0.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.