CVE-2019-12086: Arbitrary Local File Disclosure in FasterXML jackson-databind via MySQL Gadget
- Vendors
- Debian ProjectFasterxml
CVE-2019-12086 is an unsafe polymorphic deserialization vulnerability in FasterXML jackson-databind 2.x, fixed upstream in 2.9.9 with backports for older branches. Insufficient validation of the MySQL Connector/J com.mysql.cj.jdbc.admin.MiniAdmin class allows attacker-controlled JSON to instantiate a MySQL gadget. When unsafe polymorphic typing is enabled and mysql-connector-java 8.0.14 or earlier is available on the application classpath, the gadget can connect to an attacker-controlled MySQL server and disclose arbitrary local files. Exploitation requires the affected application to deserialize attacker-controlled input and reach the malicious MySQL server.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises server-side confidentiality by disclosing arbitrary local files accessible to the application process. Exposed files may contain credentials, application configuration, or other sensitive information. The vulnerability has a CVSS v3 base score of 7.5, with high confidentiality impact and no direct integrity or availability impact. Remote code execution and privilege escalation are not established impacts of this CVE.
Mitigation
If you can’t patch tonight, do this now.
Disable Default Typing when processing untrusted JSON, and avoid polymorphic deserialization configurations using @JsonTypeInfo with Id.CLASS or Id.MINIMAL_CLASS. Where polymorphism is necessary, restrict deserialization to an explicit allowlist of trusted types. Avoid deserializing uncontrolled input, and remove vulnerable mysql-connector-java dependencies from the application classpath where they are unnecessary.
Remediation
Patch, then assume compromise.
Upgrade jackson-databind to a supported release containing the fix. Historical fixed versions are 2.9.9, 2.8.11.4, 2.7.9.6, and 2.6.7.3 for their respective maintenance branches. For products bundling jackson-databind, apply the relevant vendor update rather than relying solely on the upstream version number, because fixes may be backported. Examples include Red Hat Single Sign-On 7.3.4, OpenShift Container Platform 4.1.18 or 3.11.153, and AMQ Streams 1.3.0.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 15 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2019-12086 exploited in the wild?
- As of Nov 3, 2026, Mallory has no reports of CVE-2019-12086 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2019-12086?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2019-12086, the earliest disclosed May 27, 2019.
- Is there a patch for CVE-2019-12086?
- Upgrade jackson-databind to a supported release containing the fix. Historical fixed versions are 2.9.9, 2.8.11.4, 2.7.9.6, and 2.6.7.3 for their respective maintenance branches.
- What products are affected by CVE-2019-12086?
- Fasterxml Jackson-Databind and Debian Project Debian Linux.
- How severe is CVE-2019-12086?
- CVE-2019-12086 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 21.9% (98th percentile) as of Nov 3, 2026.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.