PostgreSQL before 9.5.x before 9.5.2 does not properly maintain row-security status in cached plans, which might allow attackers to bypass intended access restrictions by leveraging a session that performs queries as more than one role.Referenceshttp://www.postgresql.org/docs/current/static/release-9-5-2.htmlhttp://www.postgresql.org/about/news/1656/http://www.securitytracker.com/id/1035468http://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=db69e58a0642ef7fa46d62f6c4cf2460c3a1b41b