Exposure of Sensitive Information in Gradle publish plugin
All versions of com.gradle.plugin-publish before 0.11.0 are vulnerable to Insertion of Sensitive Information into Log File. When a plugin author publishes a Gradle plugin while running Gradle with the --info log level flag, the Gradle Logger logs an AWS pre-signed URL. If this build log is publicly visible (as it is in many popular public CI systems like TravisCI) this AWS pre-signed URL would allow a malicious actor to replace a recently uploaded plugin with their own.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin | < 0.11.0 | 0.11.0 |
| Java / Kotlin (Maven) | com.gradle.publish:plugin-publish-plugin | < 0.11.0 | 0.11.0 |
References
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-532- Platform
- Java / Kotlin (Maven)
- Package
com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin, com.gradle.publish:plugin-publish-plugin- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-cv78-v957-jx34 - CC BY 4.0
Vulnerability history: com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin
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.
This is the only known vulnerability of this package.
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.