CVE-2026-57295: Jenkins EC2 Fleet Plugin has a cross-site request forgery (CSRF) vulnerability
Jenkins EC2 Fleet Plugin 4.2.3.539.v8fedff2a81c3 and earlier does not perform permission checks in several HTTP endpoints used to validate cloud configurations. This allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing AWS credentials stored in Jenkins.
Published Jun 24, 2026 · Updated Sep 25, 2026
Affected packages
com.amazon.jenkins.fleet:ec2-fleet
- Ecosystem
- Maven
- Affected
- < 4.2.3.540.va
- Fixed in
- 4.2.3.540.va
- Check
mvn dependency:tree -Dincludes=com.amazon.jenkins.fleet:ec2-fleet
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Jenkins EC2 Fleet Plugin 4.2.3.539.v8fedff2a_81c3 and earlier does not perform permission checks in several HTTP endpoints used to validate cloud configurations.
This allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing AWS credentials stored in Jenkins.
Additionally, these HTTP endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.
EC2 Fleet Plugin 4.2.3.540.va_6eedb_7b_c112 requires Overall/Administer permission and POST requests to perform these form validation actions.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-57295
- https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3774
- https://github.com/jenkinsci/ec2-fleet-plugin/pull/531
- https://github.com/jenkinsci/ec2-fleet-plugin/commit/a6eedb7bc112de92bbba179c03840d845b845c82
- https://github.com/jenkinsci/ec2-fleet-plugin/releases/tag/4.2.3.540.va_6eedb_7b_c112
- https://github.com/advisories/GHSA-2x9c-vp3g-hvv2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
