Critical

Grails framework Remote Code Execution via Data Binding

  • Disclosed: 21.07.2022
  • Updated: 11.10.2026 12:22

Impact

A vulnerability has been discovered in the Grails data-binding logic which allows for Remote Code Execution in a Grails application. This exploit requires the application to be running on Java 8, either deployed as a WAR to a servlet container, or an executable JAR.

Patches

Grails framework versions 5.2.1, 5.1.9, 4.1.1, and 3.3.15

References

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35912 https://grails.org/blog/2022-07-18-rce-vulnerability.html

For more information

If you have any questions or comments about this advisory:

Credit

This vulnerability was discovered by meizjm3i and codeplutos of AntGroup FG Security Lab

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.grails:grails-databinding >= 3.3.10, < 3.3.15, >= 4.0.0, < 4.1.1, >= 5.0.0, < 5.1.9, >= 5.2.0, < 5.2.1 3.3.15, 4.1.1, 5.1.9, 5.2.1

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
-
Platform
Java / Kotlin (Maven)
Package
org.grails:grails-databinding
Disclosed
21.07.2022
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-6rh6-x8ww-9h97 - CC BY 4.0

Vulnerability history: org.grails:grails-databinding

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
07.2022 12.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • Medium 1

Disclosures per year

  1. 2022: 1
  2. 2023: 1
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium · 6.5 CVE-2023-46131 >= 6.0.0, < 6.1.0, >= 5.0.0, < 5.3.4, >= 4.0.0, < 4.1.3, >= 2.0.0, < 3.3.17 6.1.0, 5.3.4, 4.1.3, 3.3.17
  2. Grails framework Remote Code Execution via Data Binding this entry
    Critical · 9.8 CVE-2022-35912 >= 3.3.10, < 3.3.15, >= 4.0.0, < 4.1.1, >= 5.0.0, < 5.1.9, >= 5.2.0, < 5.2.1 3.3.15, 4.1.1, 5.1.9, 5.2.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.