/Vulnerability Library

Jenkins Pipeline Groovy Plugin <=2.63 - Insecure Deserialization

CVE-2019-1003030
Early Release

Description

Jenkins Pipeline: Groovy Plugin (workflow-cps) version 2.63 and earlier contains a sandbox bypass vulnerability in CpsGroovyShell.java. During parsing, compilation, and script instantiation of CPS-transformed pipeline scripts, sandbox protections are not applied, allowing authenticated users with Overall/Read permission to execute arbitrary code on the Jenkins controller JVM.

Severity

Critical

CVSS Score

9.9

Exploit Probability

76%

Affected Product

workflow-cps

Published Date

August 17, 2026

Template Author

princechaddha

CVE-2019-1003030.yaml
id: CVE-2019-1003030

info:
  name: Jenkins Pipeline Groovy Plugin <=2.63 - Insecure Deserialization
  author: princechaddha
  severity: critical
  description: |
    Jenkins Pipeline: Groovy Plugin (workflow-cps) version 2.63 and earlier contains a sandbox bypass vulnerability in CpsGroovyShell.java. During parsing, compilation, and script instantiation of CPS-transformed pipeline scripts, sandbox protections are not applied, allowing authenticated users with Overall/Read permission to execute arbitrary code on the Jenkins controller JVM.
  impact: |
    Low-privilege authenticated users (requiring only Overall/Read) can bypass the Groovy sandbox and execute arbitrary OS commands on the Jenkins controller. This leads to full CI/CD pipeline compromise: credential theft, SSH key extraction, arbitrary node execution, and supply chain attacks via poisoned build artifacts.
  remediation: |
    Upgrade Pipeline: Groovy Plugin (workflow-cps) to version 2.64 or later. If upgrading is not immediately possible, restrict Overall/Read access to trusted users only, or disable Pipeline job creation for untrusted users.
  reference:
    - https://www.jenkins.io/security/advisory/2019-03-06/#SECURITY-1336
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1003030
    - https://github.com/overgrowncarrot1/CVE-2019-1003030
    - https://nvd.nist.gov/vuln/detail/CVE-2019-1003030
    - http://packetstormsecurity.com/files/159603/Jenkins-2.63-Sandbox-Bypass.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 9.9
    cve-id: CVE-2019-1003030
    cwe-id: CWE-693
    epss-score: 0.75594
    epss-percentile: 0.99478
    cpe: cpe:2.3:a:jenkins:pipeline_groovy:*:*:*:*:*:jenkins:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: jenkins
    product: workflow-cps
    framework: jenkins
    shodan-query: http.favicon.hash:81586312
    fofa-query: icon_hash=81586312
  tags: cve,cve2019,jenkins,plugin,sandbox-bypass,rce,authenticated,kev,vkev,vuln,passive

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/login"

    host-redirects: true
    max-redirects: 2

    stop-at-first-match: true

    matchers:
      - type: word
        part: header
        words:
          - "X-Jenkins"
        case-insensitive: true
        internal: true

    extractors:
      - type: kval
        name: jenkins_ver
        kval:
          - x_jenkins
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/pluginManager/api/json?depth=1&tree=plugins[shortName,version,active]"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "workflow-cps"

      - type: dsl
        dsl:
          - 'compare_versions(cps_ver, "<= 2.63")'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: cps_ver
        part: body
        regex:
          - '"workflow-cps"[^}]*?"version"\s*:\s*"([^"]+)"'
        group: 1
        internal: true

      - type: dsl
        dsl:
          - '"Jenkins " + jenkins_ver + ""'
# digest: 490a0046304402201dedce75d32303f65f1812817addfce81a5d11fb51f01f75caad81c68ee3d1e902202049f1da370dfed38f0d218bb94b1bab6b4cdbc06408281e7340647c02e841c1:922c64590222798bb761d5b6d8e72950
9.9Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVE ID:
cve-2019-1003030
CWE ID:
cwe-693

References

https://www.jenkins.io/security/advisory/2019-03-06/#SECURITY-1336https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-1003030https://github.com/overgrowncarrot1/CVE-2019-1003030https://nvd.nist.gov/vuln/detail/CVE-2019-1003030http://packetstormsecurity.com/files/159603/Jenkins-2.63-Sandbox-Bypass.html

Remediation Steps

Upgrade Pipeline: Groovy Plugin (workflow-cps) to version 2.64 or later. If upgrading is not immediately possible, restrict Overall/Read access to trusted users only, or disable Pipeline job creation for untrusted users.