From there, the same exploits that were previously possible are possible again - they can, if they break out of whatever sandbox is in place, access everything. I guess the OS might work better for apps that don't need these rights to begin with, but then these apps usually aren't much a problem in regular OSes anyway.
For example, see the Chromium architecture: http://www.chromium.org/developers/design-documents/multi-pr...
Most of the time the os doesn't have a general purpose interpreter in the kernel even if they have an interpreter for important os functionality(sh/bash/powershell). And even then most of the time these interpreters aren't meant to be embeded in applications.
It's a fair point about postgresql but dbs that need max speed/control at times are an exception not the rule.
* The Microsoft office suite has a VB interpreter for every application,
* 3D (Blendr, Rhino) and graphics (gimp) tools have inbuilt python interpreters,
* And, it seems like there's always notes coming out from postgresql about how to deal with os limitations/gotchas