# CVE-2020-12668: Unauthorized access to Class instance in Jinjava

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-19T22:33:55.000Z
- Modified: 2026-06-17T02:52:06.360Z
- Also known as: GHSA-2hjr-fg6c-v2h6
- Weaknesses: CWE-200, CWE-863
- Assigned by: mitre

## Description

Jinjava before 2.5.4 allow access to arbitrary classes by calling Java methods on objects passed into a Jinjava context. This could allow for abuse of the application class loader, including Arbitrary File Disclosure.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.hubspot.jinjava:jinjava (Maven): before 2.5.4
- hubspot jinjava: before 2.5.4

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:L/Au:S/C:C/I:N/A:N`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-072-hubspot_jinjava> (exploit, advisory, third-party-advisory)
- <https://github.com/HubSpot/jinjava/compare/jinjava-2.5.3...jinjava-2.5.4> (release-notes, third-party-advisory, web)
- <https://github.com/HubSpot/jinjava/pull/426/commits/5dfa5b87318744a4d020b66d5f7747acc36b213b> (patch, permissions-required, third-party-advisory, web)
- <https://github.com/HubSpot/jinjava/pull/435/commits/1b9aaa4b420c58b4a301cf4b7d26207f1c8d1165> (patch, third-party-advisory, web)
- <https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.5.4> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-12668> (advisory)

## Sources

- CVE List: [CVE-2020-12668](https://www.cve.org/CVERecord?id=CVE-2020-12668), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-2hjr-fg6c-v2h6](https://github.com/advisories/GHSA-2hjr-fg6c-v2h6), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-12668](https://nvd.nist.gov/vuln/detail/CVE-2020-12668), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-12668 · Whole record: https://cve.day/CVE-2020-12668.json · Rebuilt by cve.day 2026-11-25T22:57:57.390Z
