Seeking independent PostgreSQL RLS and multi-tenant security review

Started by Zack Irvine9 days ago3 messagesgeneral
Jump to latest
#1Zack Irvine
irvinezack57@gmail.com

Hello PostgreSQL community,

I'm working on a software project that uses PostgreSQL for multi-tenant
data isolation and Row-Level Security (RLS).

We're looking for an experienced PostgreSQL security specialist who might
be willing to independently review our implementation, ideally on a
voluntary basis.

The review would focus on:

- PostgreSQL Row-Level Security and tenant isolation.
- SESSION_USER-based tenant identity enforcement.
- Database role separation and privileges.
- Connection pooling and transaction isolation.
- Potential cross-tenant access and privilege escalation.

We have prepared a sanitised technical review package and a defined scope
of work.

Would anyone in the community be interested in helping, or be able to
recommend an experienced person who might be suitable?

We're not reporting a PostgreSQL vulnerability. We're seeking an
independent review of our application's security implementation.

Many thanks for your time and any guidance.

Kind regards,
Zack

#2Christophe Pettus
xof@thebuild.com
In reply to: Zack Irvine (#1)
Re: Seeking independent PostgreSQL RLS and multi-tenant security review

On Nov 19, 2026, at 15:34, Zack Irvine <irvinezack57@gmail.com> wrote:
We're looking for an experienced PostgreSQL security specialist who might be willing to independently review our implementation, ideally on a voluntary basis.

The review would focus on:

- PostgreSQL Row-Level Security and tenant isolation.
- SESSION_USER-based tenant identity enforcement.
- Database role separation and privileges.
- Connection pooling and transaction isolation.
- Potential cross-tenant access and privilege escalation.

There are quite a few organizations and consultants that can handle projects like this. I would be remiss if I did not point you at my company, PGX (pgexperts.com), but we are just one of many.

PGX has received quite a few requests of this type lately (I'm not sure why the sudden burst), and I would like to counsel that no professional organization or individual will do a review like that without a contract in place, and only on a paid basis. This isn't due to lack of community spirit, but because the underlying legal nature of the request is, "Please certify this is secure," which carries with it the implication that the certifying organization is on the legal hook if they're wrong. E&O and professional liability insurance costs money, sometime quite a lot of money, and asking to be covered by it is something any organization is going to need to charge for.

#3Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Christophe Pettus (#2)
Re: Seeking independent PostgreSQL RLS and multi-tenant security review

On 11/20/26 12:21 PM, Christophe Pettus wrote:

On Nov 19, 2026, at 15:34, Zack Irvine <irvinezack57@gmail.com> wrote:
We're looking for an experienced PostgreSQL security specialist who might be willing to independently review our implementation, ideally on a voluntary basis.

The review would focus on:

- PostgreSQL Row-Level Security and tenant isolation.
- SESSION_USER-based tenant identity enforcement.
- Database role separation and privileges.
- Connection pooling and transaction isolation.
- Potential cross-tenant access and privilege escalation.

There are quite a few organizations and consultants that can handle projects like this. I would be remiss if I did not point you at my company, PGX (pgexperts.com), but we are just one of many.

PGX has received quite a few requests of this type lately (I'm not sure why the sudden burst), and I would like to counsel that no professional organization or individual

I would say Security Issues from below was at least part of the driving
force:

https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/

will do a review like that without a contract in place, and only on a
paid basis. This isn't due to lack of community spirit, but because the
underlying legal nature of the request is, "Please certify this is
secure," which carries with it the implication that the certifying
organization is on the legal hook if they're wrong. E&O and
professional liability insurance costs money, sometime quite a lot of
money, and asking to be covered by it is something any organization is
going to need to charge for.

--
Adrian Klaver
adrian.klaver@aklaver.com