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.
| Software | From | Fixed in |
|---|---|---|
| postgresql / postgresql | 9.5.1 | 9.5.1.x |
| postgresql / postgresql | 9.5 | 9.5.x |