Following the MODX 2.6.5 release last week containing a critical security fix, today it has become clear that Gallery 1.7.0 (and before) are also vulnerable to a very similar vulnerability that can lead sites fully compromised.
These vulnerabilities are being actively exploited, right now.
If you use Gallery, please upgrade to Gallery 1.7.1 immediately