Hi,
Yes, H2 can act as a compiler / interpreter and execute code... Same as Java: you can write a Java program that reads and writes files. And same as GCC (or any other compiler / interpreter). I wouldn't call this a "Security Vulnerability".
The blog post makes it look like it was not intended to compile and execute code in H2... It is intended! It is part of the expected behavior. It is not "Exploiting", it is "Using". I would rename the title to
Using H2 Database to execute code in native libraries and JNI
Regards,
Thomas