CVE-2020-13936Velocity Sandbox Bypass
- 8.8HighCVSS base score
- 22.7%Exploitation in 30 daysEPSS · top 2.2% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
An attacker that is able to modify Velocity templates may execute arbitrary Java code or run arbitrary system commands with the same privileges as the account running the Servlet container. This applies to applications that allow untrusted users to upload/modify velocity templates running Apache Velocity Engine versions up to 2.2.
Timeline
ID reserved
By apache
- 9 months later
· 9 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 22.7% · top 2.2% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Affected products
Apache Software Foundation · Apache Velocity Engine
- affected Apache Velocity Engine – ≤ 2.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.velocity:velocityGHSA-59j4-wjwp-mw9m (opens in a new tab)
- Mavenorg.apache.velocity:velocity-engine-parentGHSA-59j4-wjwp-mw9m (opens in a new tab)
What to do
Workaround: Applications using Apache Velocity that allow untrusted users to upload templates should upgrade to version 2.3. This version adds additional default restrictions on what methods/properties can be accessed in a template.
References
References23
- https://lists.apache.org/thread.html/r01043f584cbd47959fabe18fff64de940f81a65024bb8dddbda31d9a%40%3Cuser.velocity.apache.org%3E (opens in a new tab)x_refsource_MISCmailing-listx_refsource_MLISTx_transferred
- [velocity-commits] 20210310 [velocity-site] 01/01: CVE announcement (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20210309 CVE-2020-13936: Velocity Sandbox Bypass (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [announce] 20210310 CVE-2020-13936: Velocity Sandbox Bypass (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [druid-commits] 20210316 [GitHub] [druid] clintropolis opened a new pull request #11002: suppress CVE check for security fix (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [debian-lts-announce] 20210317 [SECURITY] [DLA 2595-1] velocity security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210318 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210318 [jira] [Created] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210319 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210319 [jira] [Comment Edited] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210322 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [santuario-dev] 20210323 [GitHub] [santuario-xml-security-java] dependabot[bot] opened a new pull request #33: Bump dependency-check-maven from 6.1.2 to 6.1.3 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210324 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210325 [jira] [Updated] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210325 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [turbine-commits] 20210329 svn commit: r1888167 - /turbine/core/trunk/pom.xml (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210331 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [ws-dev] 20210401 [jira] [Commented] (WSS-683) WSS4J depends on Velocity 1.7 which contains a security vulnerability (CVE-2020-13936) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-202107-52 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- [activemq-users] 20210830 Security issues (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [activemq-users] 20210831 RE: Security issues (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-0461 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-59j4-wjwp-mw9m (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-13936)Record last updated .