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

Source: https://junglewise.ai/threats/cve-2020-12668-unauthorized-access-to-class-instance-in-jinjava  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-02-09  
License: CC BY 4.0 with a link back

CVE-2020-12668 · Severity: low · CVSS 3.1 · Published 2022-02-09

Unauthorized access to Class instance in Jinjava

Technologies: [com.hubspot.jinjava:jinjava (Maven)](https://junglewise.ai/threats/technologies/com-hubspot-jinjava-jinjava). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-12668 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-12668 being exploited in the wild.

**How severe is CVE-2020-12668?** Low severity, with a CVSS score of 3.1, published 9 February 2022.

**Which products and versions are affected?** com.hubspot.jinjava:jinjava (Maven) ECOSYSTEM:introduced=0,fixed=2.5.4.

**Is there a fix for CVE-2020-12668?** Yes. com.hubspot.jinjava:jinjava (Maven): upgrade to 2.5.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-12668?** Check whether you run com.hubspot.jinjava:jinjava (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.hubspot.jinjava:jinjava (Maven): upgrade to 2.5.4 or later

  ```sh
  # set com.hubspot.jinjava:jinjava to 2.5.4 in your pom.xml or build.gradle
  ```


## Affected products

- com.hubspot.jinjava:jinjava (Maven) ECOSYSTEM:introduced=0,fixed=2.5.4

## Identifiers

- CVE-2020-12668
- GHSA-2hjr-fg6c-v2h6

## Related threats

- [JinJava Bypass through ForTag leads to Arbitrary Java Execution](https://junglewise.ai/threats/cve-2026-25526-jinjava-bypass-through-fortag-leads-to-arbitrary-java-execution)
- [HubSpot Jinjava sandbox bypass via JavaType deserialization](https://junglewise.ai/threats/cve-2025-59340-hubspot-jinjava-sandbox-bypass-via-javatype-deserialization)
- [Jinjava calls getClass](https://junglewise.ai/threats/cve-2018-18893-jinjava-calls-getclass)
