CVE-2023-25765 — Sandbox escape in email-ext — CVE Details
Sandbox escape in Jenkins Email Extension Plugin
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.32%). Schedule for your next planned update.
Does your project use an affected org.jenkins-ci.plugins:email-ext version?
Paste your pom.xml to check it for CVE-2023-25765 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
In Jenkins Email Extension Plugin 2.93 and earlier, templates defined inside a folder were not subject to Script Security protection, allowing attackers able to define email templates in folders to bypass the sandbox protection and execute arbitrary code in the context of the Jenkins controller JVM.
Advisory Timeline
- First published February 15, 2023 (1380 days ago).
- Last revised February 16, 2024 — 366 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.94 for org.jenkins-ci.plugins:email-ext -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.jenkins-ci.plugins:email-ext Maven · Affected: 2.11, 2.12, 2.13, 2.14 (+102 more) | 2.94 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-693Protection Mechanism FailureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-25765ADVISORY
- https://github.com/jenkinsci/email-ext-plugin/commit/ffe44a4c1c1830325787d7ef5e9e19ebf9a936f9WEB
- https://github.com/jenkinsci/email-ext-pluginPACKAGE
- https://www.jenkins.io/security/advisory/2023-02-15/#SECURITY-2939WEB
- https://www.openwall.com/lists/oss-security/2023/02/15/4WEB
Frequently Asked Questions
- What is CVE-2023-25765?
- Sandbox escape in Jenkins Email Extension Plugin. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
- How do I check if my project is affected by CVE-2023-25765?
- CVE-2023-25765 affects org.jenkins-ci.plugins:email-ext. It has a 1.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-25765 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 70.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2017-1000245CRITICAL
Jenkins SSH Plugin user passwords for encrypted SSH keys stored in plaintext
- CVE-2020-2300CRITICAL
Improper Authentication (empty password) in Jenkins Active Directory Plugin
- CVE-2020-2301CRITICAL
Authentication cache in Active Directory Jenkins Plugin allows logging in with any password
- CVE-2023-24456CRITICAL
Session fixation vulnerability in Jenkins Keycloak Authentication Plugin
- CVE-2020-2279CRITICAL
Sandbox bypass vulnerability in Jenkins Script Security Plugin
- CVE-2026-57301HIGH
Jenkins OWASP ZAP Plugin: Builds executed on the Jenkins controller can lead to RCE
- CVE-2026-57280HIGH
Jenkins Script Security Plugin sandbox bypass vulnerability
- CVE-2026-48920HIGH
Jenkins Email Extension Plugin: Attackers able to control email content may specify `file:` URLs for images to read arbitrary files from Jenkins controller filesystem