Vulnerabilities in pkg:maven/com.amazon.jenkins.fleet/ec2-fleet

PACKAGE
Advisory Identifier: GHSA-9v77-j4xv-34gq
Advisory Summary

CVE-2026-57294 is a MODERATE (CVSS 5.4) jenkins ec2 fleet plugin has vulnerability (CWE-862: Missing Authorization) affecting Ec2 fleet libraries in the Maven ecosystem. The issue involves jenkins ec2 fleet plugin has a missing permission check. Remediation is available by upgrading affected packages to version 4.2.3.540.va.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.amazon.jenkins.fleet/ec2-fleet

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.amazon.jenkins.fleet/ec2-fleet. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9v77-j4xv-34gq CVE-2026-57294 MODERATE Jenkins EC2 Fleet Plugin has a missing permission check
GHSA-2x9c-vp3g-hvv2 CVE-2026-57295 MODERATE Jenkins EC2 Fleet Plugin has a cross-site request forgery (CSRF) vulnerability

CVE-2026-57294 at a Glance

CVE Identifier CVE-2026-57294
GHSA Identifier GHSA-9v77-j4xv-34gq
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-862: Missing Authorization
Affected Product Ec2 fleet
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-57294

To remediate this vulnerability, upgrade all affected Ec2 fleet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.amazon.jenkins.fleet:ec2-fleet fixed: 4.2.3.540.va
<dependency>
    <groupId>com.amazon.jenkins.fleet</groupId>
    <artifactId>ec2-fleet</artifactId>
    <version>4.2.3.540.va</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.amazon.jenkins.fleet

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-57294, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.amazon.jenkins.fleet

Analyze the terminal output to locate any version of Ec2 fleet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.3.540.va), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.amazon.jenkins.fleet command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Ec2 fleet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-57294 Affected Ec2 fleet Versions

1 component(s)
Fixed Versions:
4.2.3.540.va
Product / Package Ecosystem Affected Versions Fixed Version
com.amazon.jenkins.fleet:ec2-fleet
Maven
< 4.2.3.540.va
4.2.3.540.va

References

Frequently Asked Questions

What is CVE-2026-57294?
CVE-2026-57294 is a security vulnerability in Ec2 fleet involving Jenkins EC2 Fleet Plugin has a missing permission check under CWE-862: Missing Authorization.
Which Ec2 fleet versions are affected?
Affected versions include releases prior to 4.2.3.540.va across affected packages: com.amazon.jenkins.fleet:ec2-fleet.
What version fixes CVE-2026-57294?
Upgrading to 4.2.3.540.va (or the latest patched release for your respective branch) resolves the vulnerability.
Is ec2-fleet affected?
Yes, com.amazon.jenkins.fleet:ec2-fleet is affected in releases prior to 4.2.3.540.va. Upgrade your dependency to 4.2.3.540.va or later.
What is the CVSS score of CVE-2026-57294?
CVE-2026-57294 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-57294?
CVE-2026-57294 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2026-57294?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.amazon.jenkins.fleet'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9v77-j4xv-34gq",
  "modified" : "2026-09-25T19:03:01Z",
  "published" : "2026-06-24T15:31:47Z",
  "aliases" : [ "CVE-2026-57294" ],
  "summary" : "Jenkins EC2 Fleet Plugin has a missing permission check",
  "details" : "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.\n\nThis 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.\n\nAdditionally, these HTTP endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.\n\nEC2 Fleet Plugin 4.2.3.540.va_6eedb_7b_c112 requires Overall/Administer permission and POST requests to perform these form validation actions.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.amazon.jenkins.fleet:ec2-fleet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.3.540.va"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-57294"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/ec2-fleet-plugin/pull/531"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/ec2-fleet-plugin/commit/a6eedb7bc112de92bbba179c03840d845b845c82"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jenkinsci/ec2-fleet-plugin"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jenkinsci/ec2-fleet-plugin/releases/tag/4.2.3.540.va_6eedb_7b_c112"
  }, {
    "type" : "WEB",
    "url" : "https://www.jenkins.io/security/advisory/2026-06-24/#SECURITY-3774"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-25T19:03:01Z",
    "nvd_published_at" : "2026-06-24T14:17:35Z"
  }
}