{"id":"CVE-2022-35912","aliases":["EUVD-2022-6263","GHSA-6rh6-x8ww-9h97"],"status":"published","title":"Grails framework Remote Code Execution via Data Binding","description":"In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 configurations are used), data binding allows a remote attacker to execute code by gaining access to the class loader.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0234,"percentile":0.83735,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2022-07-19T15:56:59Z","modified":"2026-10-28T10:28:00Z","fixes":[{"ecosystem":"Maven","package":"org.grails:grails-databinding","fixed_in":["3.3.15","4.1.1","5.1.9","5.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.10"},{"fixed":"3.3.15"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.1"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.9"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"last_affected":"5.2.0"},{"fixed":"5.2.1"}]}],"versions":["5.2.0"]},{"source":"osv","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.10"},{"fixed":"3.3.15"}]}],"versions":["3.3.10","3.3.13","3.3.14"]},{"source":"osv","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.1"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.13","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.1.0","4.1.0.M3","4.1.0.M4"]},{"source":"osv","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.9"}]}],"versions":["5.0.0","5.0.1","5.0.2","5.0.3","5.1.0","5.1.1","5.1.2","5.1.3","5.1.4","5.1.5","5.1.6","5.1.7","5.1.8"]},{"source":"osv","ecosystem":"Maven","package":"org.grails:grails-databinding","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.2.0"},{"fixed":"5.2.1"}]}],"versions":["5.2.0"]}],"products":[{"vendor":"grails","product":"grails"}],"references":[{"url":"https://github.com/grails/grails-core/security/advisories/GHSA-6rh6-x8ww-9h97","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://grails.org/blog/2022-07-18-rce-vulnerability.html","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","article","web"]},{"url":"https://github.com/grails/grails-core/issues/12626","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/07/20/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35912","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6rh6-x8ww-9h97"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35912.json","tags":["advisory"]},{"url":"https://github.com/grails/grails-core","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-35912","description":"In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 configurations are used), data binding allows a remote attacker to execute code by gaining access to the class loader.","status":"published","published":"2022-07-19T15:56:59Z","modified":"2024-08-03T09:44:22.117Z","updated_at":"2026-11-02T14:34:39.935681Z"}],"euvd":[{"id":"EUVD-2022-6263","description":"In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 configurations are used), data binding allows a remote attacker to execute code by gaining access to the class loader.","status":"published","published":"2022-07-19T15:56:59Z","modified":"2024-08-03T09:44:22Z","updated_at":"2026-11-03T03:25:26.362132Z"}],"ghsa":[{"id":"GHSA-6rh6-x8ww-9h97","title":"Grails framework Remote Code Execution via Data Binding","description":"### Impact\nA 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.  \n\n### Patches\nGrails framework versions 5.2.1, 5.1.9, 4.1.1, and 3.3.15\n\n### References\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35912\nhttps://grails.org/blog/2022-07-18-rce-vulnerability.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n* https://grails.org/blog/2022-07-18-rce-vulnerability.html\n*  https://github.com/grails/grails-core/issues/12626\n* Email us at [info@grails.org](mailto:info@grails.org)\n\n### Credit\n\nThis vulnerability was discovered by  [meizjm3i](https://github.com/meizjm3i) and [codeplutos](https://github.com/codeplutos) of AntGroup FG Security Lab\n","status":"published","published":"2022-07-21T21:38:28Z","modified":"2023-01-27T05:06:10Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:36:21.8171Z"}],"nvd":[{"id":"CVE-2022-35912","description":"In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 configurations are used), data binding allows a remote attacker to execute code by gaining access to the class loader.","status":"published","published":"2022-07-19T16:15:08.697Z","modified":"2026-06-17T04:52:30.38Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"updated_at":"2026-11-02T14:07:23.686531Z"}],"osv":[{"id":"GHSA-6rh6-x8ww-9h97","title":"Grails framework Remote Code Execution via Data Binding","description":"### Impact\nA 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.  \n\n### Patches\nGrails framework versions 5.2.1, 5.1.9, 4.1.1, and 3.3.15\n\n### References\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35912\nhttps://grails.org/blog/2022-07-18-rce-vulnerability.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n* https://grails.org/blog/2022-07-18-rce-vulnerability.html\n*  https://github.com/grails/grails-core/issues/12626\n* Email us at [info@grails.org](mailto:info@grails.org)\n\n### Credit\n\nThis vulnerability was discovered by  [meizjm3i](https://github.com/meizjm3i) and [codeplutos](https://github.com/codeplutos) of AntGroup FG Security Lab\n","status":"published","published":"2022-07-21T21:38:28Z","modified":"2026-07-08T06:27:55.752807417Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"CVE-2022-35912","description":"In grails-databinding in Grails before 3.3.15, 4.x before 4.1.1, 5.x before 5.1.9, and 5.2.x before 5.2.1 (at least when certain Java 8 configurations are used), data binding allows a remote attacker to execute code by gaining access to the class loader.","status":"published","published":"2022-07-19T15:56:59Z","modified":"2026-10-28T10:28:00.570412055Z","updated_at":"2026-11-02T15:44:26.195407Z"}]}}
